| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class CustomControllerAnnotation extends Annotation implements IMethod, IRead |
||
| 15 | { |
||
| 16 | private $injectAnnotation; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | public function onInject(array $injectAnnotation) |
||
| 22 | { |
||
| 23 | $this->injectAnnotation = $injectAnnotation; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public function getAnnotationInfo(): array |
||
| 30 | { |
||
| 31 | return $this->injectAnnotation; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function onMethodInject(IAnnotatable $instance, \ReflectionMethod $method, Container $container) |
||
| 40 | } |
||
| 41 | } |
||
| 42 |