Total Complexity | 7 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class FormReader |
||
14 | { |
||
15 | use AnnotationReaderTrait; |
||
16 | |||
17 | public function configureCreateFields(\ReflectionClass $class, FormMapper $formMapper): void |
||
18 | { |
||
19 | $this->configureFields($class, $formMapper, FormField::ACTION_EDIT); |
||
20 | } |
||
21 | |||
22 | private function configureFields(\ReflectionClass $class, FormMapper $formMapper, string $action): void |
||
31 | } |
||
32 | } |
||
33 | } |
||
34 | |||
35 | public function configureEditFields(\ReflectionClass $class, FormMapper $formMapper): void |
||
38 | } |
||
39 | } |
||
40 |