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