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