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
Afficher le fichier Open project: doctrine/annotations Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

__construct() public méthode

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 méthode

Clears loaded annotations.
public clearLoadedAnnotations ( ) : void
Résultat void

getClassAnnotation() public méthode

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

getClassAnnotations() public méthode

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

getMethodAnnotation() public méthode

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

getMethodAnnotations() public méthode

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

getPropertyAnnotation() public méthode

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

getPropertyAnnotations() public méthode

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