| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 0 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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 | } |
|
| 46 |