Conditions | 2 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public static function getClassAnnotations(Reader $reader, ReflectionClass $refClass): array |
||
35 | { |
||
36 | $annotations = []; |
||
37 | do { |
||
38 | $annotations = array_merge($reader->getClassAnnotations($refClass), $annotations); |
||
39 | $refClass = $refClass->getParentClass(); |
||
40 | } while ($refClass); |
||
41 | return $annotations; |
||
42 | } |
||
43 | } |