PHP 클래스 Doctrine\ODM\OrientDB\Mapper\Annotations\Reader

상속: implements Doctrine\ODM\OrientDB\Mapper\Annotations\ReaderInterface
파일 보기 프로젝트 열기: doctrine/orientdb-odm

보호된 프로퍼티들

프로퍼티 타입 설명
$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