Total Complexity | 3 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | trait UsesFormFieldDataTrait |
||
10 | { |
||
11 | protected function formFields(ServerRequestInterface $request): array |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return string|array|FormFieldInterface |
||
32 | */ |
||
33 | protected function getFormFieldData(FormFieldInterface $field) |
||
42 | ]; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return array<string,FormFieldInterface> |
||
47 | */ |
||
48 | abstract protected function fields(ServerRequestInterface $request): array; |
||
49 | } |
||
50 |