Interface for annotation readers.
@author Johannes M. Schmitt <schmittjoh@gmail.com>
Expanded class hierarchy of Reader
All classes that implement Reader
interface Reader {
/**
* @param \ReflectionClass $class
* @return mixed
*/
function getClassAnnotations(\ReflectionClass $class);
/**
* @param \ReflectionClass $class
* @param string $annotationName
* @return mixed
*/
function getClassAnnotation(\ReflectionClass $class, $annotationName);
/**
* @param \ReflectionMethod $method
* @return mixed
*/
function getMethodAnnotations(\ReflectionMethod $method);
/**
* @param \ReflectionMethod $method
* @param string $annotationName
* @return mixed
*/
function getMethodAnnotation(\ReflectionMethod $method, $annotationName);
/**
* @param \ReflectionProperty $property
* @return mixed
*/
function getPropertyAnnotations(\ReflectionProperty $property);
/**
* @param \ReflectionProperty $property
* @param string $annotationName
* @return mixed
*/
function getPropertyAnnotation(\ReflectionProperty $property, $annotationName);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Reader:: |
function | 5 | ||
Reader:: |
function | 5 | ||
Reader:: |
function | 5 | ||
Reader:: |
function | 5 | ||
Reader:: |
function | 5 | ||
Reader:: |
function | 5 |