Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
38 | public function __construct( |
||
39 | $name, |
||
40 | array $groups = [], |
||
41 | 4 | FieldDenormalizerInterface $fieldDenormalizer, |
|
42 | PolicyInterface $policy = null |
||
43 | ) { |
||
44 | $this->name = $name; |
||
45 | $this->groups = $groups; |
||
|
|||
46 | $this->fieldDenormalizer = $fieldDenormalizer; |
||
47 | 4 | $this->policy = $policy ?? new NullPolicy(); |
|
48 | 4 | } |
|
73 |