AnnotationReader
class AnnotationReader implements Reader (View source)
A reader for docblock annotations.
Methods
static
addGlobalIgnoredName(string $name)
Add a new annotation to the globally ignored annotation names with regard to exception handling.
static
addGlobalIgnoredNamespace(string $namespace)
Add a new annotation to the globally ignored annotation namespaces with regard to exception handling.
array
object|null
array
object|null
getPropertyAnnotation(ReflectionProperty $property, string $annotationName)
Gets a property annotation.
array
object|null
Details
at line 119
static
addGlobalIgnoredName(string $name)
Add a new annotation to the globally ignored annotation names with regard to exception handling.
at line 129
static
addGlobalIgnoredNamespace(string $namespace)
Add a new annotation to the globally ignored annotation namespaces with regard to exception handling.
at line 213
array
getClassAnnotations(ReflectionClass $class)
Gets the annotations applied to a class.
at line 226
object|null
getClassAnnotation(ReflectionClass $class, string $annotationName)
Gets a class annotation.
at line 242
array
getPropertyAnnotations(ReflectionProperty $property)
Gets the annotations applied to a property.
at line 258
object|null
getPropertyAnnotation(ReflectionProperty $property, string $annotationName)
Gets a property annotation.
at line 274
array
getMethodAnnotations(ReflectionMethod $method)
Gets the annotations applied to a method.
at line 290
object|null
getMethodAnnotation(ReflectionMethod $method, string $annotationName)
Gets a method annotation.