Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\HtmlBuilders\Interfaces; |
| 3 | |
| 4 | use Apie\HtmlBuilders\FormBuildContext; |
| 5 | use Apie\HtmlBuilders\ValueObjects\FormName; |
| 6 | |
| 7 | interface ComponentInterface |
| 8 | { |
| 9 | public function getComponent(string $key): ComponentInterface; |
| 10 | |
| 11 | public function getAttribute(string $key): mixed; |
| 12 | |
| 13 | public function withName(FormName $name, mixed $value = null): ComponentInterface; |
| 14 | |
| 15 | /** |
| 16 | * @return array<string, string> |
| 17 | */ |
| 18 | public function getMissingValidationErrors(FormBuildContext $formBuildContext): array; |
| 19 | } |