PHP 클래스 Doctrine\Common\Annotations\CachedReader

저자: Johannes M. Schmitt ([email protected])
저자: Benjamin Eberlei ([email protected])
상속: implements Doctrine\Common\Annotations\Reader
파일 보기 프로젝트 열기: doctrine/annotations 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Doctrine\Common\Annotations\Reader $reader, Doctrine\Common\Cache\Cache $cache, boolean $debug = false ) Constructor.
clearLoadedAnnotations ( ) : void Clears loaded annotations.
getClassAnnotation ( ReflectionClass $class, $annotationName ) {@inheritDoc}
getClassAnnotations ( ReflectionClass $class ) {@inheritDoc}
getMethodAnnotation ( ReflectionMethod $method, $annotationName ) {@inheritDoc}
getMethodAnnotations ( ReflectionMethod $method ) {@inheritDoc}
getPropertyAnnotation ( ReflectionProperty $property, $annotationName ) {@inheritDoc}
getPropertyAnnotations ( ReflectionProperty $property ) {@inheritDoc}

비공개 메소드들

메소드 설명
fetchFromCache ( string $cacheKey, ReflectionClass $class ) : mixed Fetches a value from the cache.
getLastModification ( ReflectionClass $class ) : integer Returns the time the class was last modified, testing traits and parents
getTraitLastModificationTimes ( ReflectionClass $reflectionTrait )
isCacheFresh ( string $cacheKey, ReflectionClass $class ) : boolean Checks if the cache is fresh.
saveToCache ( string $cacheKey, mixed $value ) : void Saves a value to the cache.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Doctrine\Common\Annotations\Reader $reader, Doctrine\Common\Cache\Cache $cache, boolean $debug = false )
$reader Doctrine\Common\Annotations\Reader
$cache Doctrine\Common\Cache\Cache
$debug boolean

clearLoadedAnnotations() 공개 메소드

Clears loaded annotations.
public clearLoadedAnnotations ( ) : void
리턴 void

getClassAnnotation() 공개 메소드

{@inheritDoc}
public getClassAnnotation ( ReflectionClass $class, $annotationName )
$class ReflectionClass

getClassAnnotations() 공개 메소드

{@inheritDoc}
public getClassAnnotations ( ReflectionClass $class )
$class ReflectionClass

getMethodAnnotation() 공개 메소드

{@inheritDoc}
public getMethodAnnotation ( ReflectionMethod $method, $annotationName )
$method ReflectionMethod

getMethodAnnotations() 공개 메소드

{@inheritDoc}
public getMethodAnnotations ( ReflectionMethod $method )
$method ReflectionMethod

getPropertyAnnotation() 공개 메소드

{@inheritDoc}
public getPropertyAnnotation ( ReflectionProperty $property, $annotationName )
$property ReflectionProperty

getPropertyAnnotations() 공개 메소드

{@inheritDoc}
public getPropertyAnnotations ( ReflectionProperty $property )
$property ReflectionProperty