1 | <?php |
||
21 | class AnnotatedReflectionProperty extends ReflectionProperty implements AnnotationAccess |
||
22 | { |
||
23 | /** |
||
24 | * Annotation reader |
||
25 | * |
||
26 | * @var Reader |
||
27 | */ |
||
28 | private static $annotationReader; |
||
29 | |||
30 | /** |
||
31 | * Gets property annotation. |
||
32 | * |
||
33 | * @param string $annotationName The name of the annotation. |
||
34 | * @return mixed The Annotation or NULL, if the requested annotation does not exist. |
||
35 | */ |
||
36 | public function getAnnotation(string $annotationName) |
||
40 | |||
41 | /** |
||
42 | * Gets the annotations applied to a property. |
||
43 | */ |
||
44 | public function getAnnotations(): array |
||
48 | |||
49 | /** |
||
50 | * Returns an annotation reader |
||
51 | */ |
||
52 | private static function getReader(): Reader |
||
60 | } |
||
61 |