| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 25 | public function __construct() |
||
| 26 | { |
||
| 27 | // Gather all supported configuration keys |
||
| 28 | $this->keys = []; |
||
| 29 | foreach (get_declared_classes() as $className) { |
||
| 30 | if (in_array(ClassInterface::class, class_implements($className), true)) { |
||
| 31 | $annotationName = substr($className, strrpos($className, '\\') + 1); |
||
| 32 | $this->keys[strtolower($annotationName)] = $className; |
||
| 33 | } |
||
| 34 | } |
||
| 35 | } |
||
| 36 | |||
| 59 |