Conditions | 2 |
Paths | 2 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
19 | public function hasAnnotation(string $name, $class, string $method = null): bool { |
||
20 | if(!$this->isAvailable()) { |
||
21 | return false; |
||
22 | } |
||
23 | return count($this->getReflection($class, $method)->getAttributes($this->getClassName($name))) > 0; |
||
1 ignored issue
–
show
|
|||
24 | } |
||
59 | ?> |