Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
47 | public function getAnnotationsInstanceof($className) |
||
48 | { |
||
49 | $annotationsInstanceOf = array(); |
||
50 | foreach ($this->getAnnotations() as $annotation) { |
||
51 | if ($annotation instanceof $className) { |
||
52 | $annotationsInstanceOf[] = $annotation; |
||
53 | } |
||
54 | } |
||
55 | |||
56 | return $annotationsInstanceOf; |
||
57 | } |
||
58 | |||
74 |