Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class PostConfigureReflectionSetProperties implements PostConfigureInterface |
||
13 | { |
||
14 | 52 | public function __construct( |
|
15 | /** |
||
16 | * Properties which store form elements |
||
17 | * The key is the element name, and value is the reflection property |
||
18 | * |
||
19 | * @var array<non-empty-string, ReflectionProperty> |
||
20 | */ |
||
21 | private array $elementProperties, |
||
22 | /** |
||
23 | * Properties which store form buttons |
||
24 | * The key is the button name, and value is the reflection property |
||
25 | * |
||
26 | * @var array<non-empty-string, ReflectionProperty> |
||
27 | */ |
||
28 | private array $buttonProperties, |
||
29 | ) { |
||
30 | 52 | } |
|
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | 52 | public function postConfigure(AttributeForm $form, FormInterface $inner): void |
|
43 | } |
||
44 | } |
||
46 |