Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
8 | public function getProperties(\ReflectionClass $reflection): array |
||
9 | { |
||
10 | $properties = []; |
||
11 | |||
12 | foreach ($reflection->getProperties() as $property) { |
||
13 | if ($this->isIgnoredProperty($property)) { |
||
14 | continue; |
||
15 | } |
||
16 | |||
17 | $properties[] = $property->getName(); |
||
18 | } |
||
19 | |||
20 | return $properties; |
||
21 | } |
||
22 | |||
27 | } |