Метод | Описание | |
---|---|---|
__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. |
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 |
public clearLoadedAnnotations ( ) : void | ||
Результат | void |
public getClassAnnotation ( ReflectionClass $class, $annotationName ) | ||
$class | ReflectionClass |
public getClassAnnotations ( ReflectionClass $class ) | ||
$class | ReflectionClass |
public getMethodAnnotation ( ReflectionMethod $method, $annotationName ) | ||
$method | ReflectionMethod |
public getMethodAnnotations ( ReflectionMethod $method ) | ||
$method | ReflectionMethod |
public getPropertyAnnotation ( ReflectionProperty $property, $annotationName ) | ||
$property | ReflectionProperty |
public getPropertyAnnotations ( ReflectionProperty $property ) | ||
$property | ReflectionProperty |