class IndexedReader implements Reader (View source)

Allows the reader to be used in-place of Doctrine's reader.

Methods

__construct(Reader $reader)

Constructor

mixed
getClassAnnotations(ReflectionClass $class)

Get Annotations for class

mixed
getClassAnnotation(ReflectionClass $class, string $annotation)

Get selected annotation for class

mixed
getMethodAnnotations(ReflectionMethod $method)

Get Annotations for method

mixed
getMethodAnnotation(ReflectionMethod $method, string $annotation)

Get selected annotation for method

mixed
getPropertyAnnotations(ReflectionProperty $property)

Get annotations for property

mixed
getPropertyAnnotation(ReflectionProperty $property, string $annotation)

Get selected annotation for property

mixed
__call(string $method, array $args)

Proxy all methods to the delegate.

Details

__construct(Reader $reader)

Constructor

Parameters

Reader $reader

mixed getClassAnnotations(ReflectionClass $class)

Get Annotations for class

Parameters

ReflectionClass $class

Return Value

mixed

mixed getClassAnnotation(ReflectionClass $class, string $annotation)

Get selected annotation for class

Parameters

ReflectionClass $class
string $annotation

Return Value

mixed

mixed getMethodAnnotations(ReflectionMethod $method)

Get Annotations for method

Parameters

ReflectionMethod $method

Return Value

mixed

mixed getMethodAnnotation(ReflectionMethod $method, string $annotation)

Get selected annotation for method

Parameters

ReflectionMethod $method
string $annotation

Return Value

mixed

mixed getPropertyAnnotations(ReflectionProperty $property)

Get annotations for property

Parameters

ReflectionProperty $property

Return Value

mixed

mixed getPropertyAnnotation(ReflectionProperty $property, string $annotation)

Get selected annotation for property

Parameters

ReflectionProperty $property
string $annotation

Return Value

mixed

mixed __call(string $method, array $args)

Proxy all methods to the delegate.

Parameters

string $method
array $args

Return Value

mixed