1 | <?php |
||
9 | trait ControllerAnnotationExtractorTrait |
||
10 | { |
||
11 | abstract protected function getAnnotationReader(): Reader; |
||
12 | |||
13 | /** |
||
14 | * @param null|callable $controller |
||
15 | * @param string $annotationClass |
||
16 | * |
||
17 | * @return null|object |
||
18 | */ |
||
19 | protected function getClassAnnotationFromController(callable $controller = null, string $annotationClass) |
||
30 | |||
31 | /** |
||
32 | * @param null|callable $controller |
||
33 | * @param string $annotationClass |
||
34 | * |
||
35 | * @return null|object |
||
36 | */ |
||
37 | 1 | protected function getMethodAnnotationFromController(callable $controller = null, string $annotationClass) |
|
49 | |||
50 | /** |
||
51 | * @param null|callable $controller |
||
52 | * |
||
53 | * @return null|object |
||
54 | */ |
||
55 | 1 | protected function getObjectToReflect(callable $controller = null) |
|
65 | } |
||
66 |