SimpleAnnotationReader
final class SimpleAnnotationReader implements Reader (View source)
| internal |
Simple Annotation Reader.
Drupal adds its own version of DocParser and allows for ignoring common annotations.
Properties
| protected | $ignoredAnnotations |
Methods
__construct()
Constructor.
void
addNamespace(string $namespace)
Adds a namespace in which we will look for annotations.
Details
__construct()
Constructor.
Initializes a new SimpleAnnotationReader.
void
addNamespace(string $namespace)
Adds a namespace in which we will look for annotations.
getClassAnnotations(ReflectionClass $class)
{@inheritDoc}
getMethodAnnotations(ReflectionMethod $method)
{@inheritDoc}
getPropertyAnnotations(ReflectionProperty $property)
{@inheritDoc}
getClassAnnotation(ReflectionClass $class, $annotationName)
{@inheritDoc}
getMethodAnnotation(ReflectionMethod $method, $annotationName)
{@inheritDoc}
getPropertyAnnotation(ReflectionProperty $property, $annotationName)
{@inheritDoc}