PHP Класс Doctrine\ODM\OrientDB\Mapper\Annotations\Reader

Наследование: implements Doctrine\ODM\OrientDB\Mapper\Annotations\ReaderInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$reader

Открытые методы

Метод Описание
__construct ( Doctrine\Common\Cache\Cache $cacheReader = null ) Instantiates a new annotation reader, optionally injecting a cache mechanism for it.
getClassAnnotation ( ReflectionClass $class, string $annotation ) : The Gets a class annotation.
getClassAnnotations ( ReflectionClass $class ) : array Gets the annotations applied to a class.
getMethodAnnotation ( ReflectionMethod $method, string $annotation ) : The Gets a method annotation.
getMethodAnnotations ( ReflectionMethod $method ) : array Gets the annotations applied to a method.
getPropertyAnnotation ( ReflectionProperty $property, string $annotation ) : The Gets a property annotation.
getPropertyAnnotations ( ReflectionProperty $property ) : array Gets the annotations applied to a property.

Защищенные методы

Метод Описание
createCacheProvider ( ) : Doctrine\Common\Cache\CacheProvider Creates a new instance of a cache provider.
getReader ( ) : CachedReader Returns the cached reader associated with this reader.

Описание методов

__construct() публичный Метод

This reader is basically a proxy wrapping Doctrine's one.
public __construct ( Doctrine\Common\Cache\Cache $cacheReader = null )
$cacheReader Doctrine\Common\Cache\Cache

createCacheProvider() защищенный Метод

Creates a new instance of a cache provider.
protected createCacheProvider ( ) : Doctrine\Common\Cache\CacheProvider
Результат Doctrine\Common\Cache\CacheProvider

getClassAnnotation() публичный Метод

Gets a class annotation.
public getClassAnnotation ( ReflectionClass $class, string $annotation ) : The
$class ReflectionClass The ReflectionClass of the class from which the class annotations should be read.
$annotation string The name of the annotation.
Результат The Annotation or null, if the requested annotation does not exist.

getClassAnnotations() публичный Метод

Gets the annotations applied to a class.
public getClassAnnotations ( ReflectionClass $class ) : array
$class ReflectionClass The ReflectionClass of the class from which the class annotations should be read.
Результат array An array of Annotations.

getMethodAnnotation() публичный Метод

Gets a method annotation.
public getMethodAnnotation ( ReflectionMethod $method, string $annotation ) : The
$method ReflectionMethod
$annotation string The name of the annotation.
Результат The Annotation or null, if the requested annotation does not exist.

getMethodAnnotations() публичный Метод

Gets the annotations applied to a method.
public getMethodAnnotations ( ReflectionMethod $method ) : array
$method ReflectionMethod
Результат array An array of Annotations.

getPropertyAnnotation() публичный Метод

Gets a property annotation.
public getPropertyAnnotation ( ReflectionProperty $property, string $annotation ) : The
$property ReflectionProperty
$annotation string The name of the annotation.
Результат The Annotation or null, if the requested annotation does not exist.

getPropertyAnnotations() публичный Метод

Gets the annotations applied to a property.
public getPropertyAnnotations ( ReflectionProperty $property ) : array
$property ReflectionProperty The name or ReflectionProperty of the property from which the annotations should be read.
Результат array An array of Annotations.

getReader() защищенный Метод

Returns the cached reader associated with this reader.
protected getReader ( ) : CachedReader
Результат Doctrine\Common\Annotations\CachedReader

Описание свойств

$reader защищенное свойство

protected $reader