Doctrine\Common\Annotations\SimpleAnnotationReader
Simple Annotation Reader.
This annotation reader is intended to be used in projects where you have
full-control over all annotations that are available.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
class SimpleAnnotationReader
implements
Reader
{
- // members
- private DocParser $parser;
- // methods
- public void __construct()
- public void addNamespace()
- public array getClassAnnotations()
- public array getMethodAnnotations()
- public array getPropertyAnnotations()
- public mixed getClassAnnotation()
- public mixed getMethodAnnotation()
- public mixed getPropertyAnnotation()
Hierarchy
Implements
Members
private
- $parser — Doctrine\Common\Annotations\DocParser
Methods
public
- __construct() — Constructor.
- addNamespace() — Adds a namespace in which we will look for annotations.
- getClassAnnotation() — Gets a class annotation.
- getClassAnnotations() — Gets the annotations applied to a class.
- getMethodAnnotation() — Gets a method annotation.
- getMethodAnnotations() — Gets the annotations applied to a method.
- getPropertyAnnotation() — Gets a property annotation.
- getPropertyAnnotations() — Gets the annotations applied to a property.