Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1.037 |
Changes | 0 |
1 | <?php |
||
20 | public function __construct(string $className, string $fieldName, $fieldValue, array $groups = []) |
||
21 | 15 | { |
|
22 | $this->class = $className; |
||
23 | 15 | $this->name = $fieldName; |
|
24 | $this->serializedName = $fieldName; |
||
25 | $this->value = $fieldValue; |
||
26 | $this->readOnly = true; |
||
27 | $this->groups = $groups; |
||
28 | } |
||
60 |