PHP Class Doctrine\Common\Annotations\FileCacheReader

Deprecation: the FileCacheReader is deprecated and will be removed in version 2.0.0 of doctrine/annotations. Please use the {@see \Doctrine\Common\Annotations\CachedReader} instead.
Author: Johannes M. Schmitt ([email protected])
Author: Benjamin Eberlei ([email protected])
Inheritance: implements Doctrine\Common\Annotations\Reader
Exibir arquivo Open project: doctrine/annotations Class Usage Examples

Public Methods

Method Description
__construct ( Doctrine\Common\Annotations\Reader $reader, string $cacheDir, boolean $debug = false, $umask = 2 ) 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}

Private Methods

Method Description
saveCacheFile ( string $path, mixed $data ) : void Saves the cache file.

Method Details

__construct() public method

Constructor.
public __construct ( Doctrine\Common\Annotations\Reader $reader, string $cacheDir, boolean $debug = false, $umask = 2 )
$reader Doctrine\Common\Annotations\Reader
$cacheDir string
$debug boolean

clearLoadedAnnotations() public method

Clears loaded annotations.
public clearLoadedAnnotations ( ) : void
return void

getClassAnnotation() public method

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

getClassAnnotations() public method

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

getMethodAnnotation() public method

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

getMethodAnnotations() public method

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

getPropertyAnnotation() public method

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

getPropertyAnnotations() public method

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