Total Complexity | 7 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | final class Reader |
||
16 | { |
||
17 | /** @var IAnnotationsReaderEngine[] */ |
||
18 | private array $engines = []; |
||
19 | |||
20 | 1 | public function registerEngine(IAnnotationsReaderEngine $engine): void |
|
23 | 1 | } |
|
24 | |||
25 | 1 | public function hasAnnotation(string $name, string|object $class, string $method = null): bool |
|
33 | } |
||
34 | |||
35 | 1 | public function getAnnotation(string $name, string|object $class, string $method = null): mixed |
|
46 |