Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | protected function getRequiredProperties(): array |
||
45 | { |
||
46 | $properties = []; |
||
47 | |||
48 | foreach ((new ReflectionClass(static::class))->getProperties(ReflectionProperty::IS_PUBLIC) as $reflection) { |
||
49 | if ($reflection->hasDefaultValue()) { |
||
50 | continue; |
||
51 | } |
||
52 | $properties[] = $reflection->getName(); |
||
53 | } |
||
54 | |||
55 | return $properties; |
||
56 | } |
||
58 |