PHP Класс Doctrine\Common\Annotations\AnnotationReader

Автор: Benjamin Eberlei ([email protected])
Автор: Guilherme Blanco ([email protected])
Автор: Jonathan Wage ([email protected])
Автор: Roman Borschel ([email protected])
Автор: Johannes M. Schmitt ([email protected])
Наследование: implements Doctrine\Common\Annotations\Reader
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( DocParser $parser = null ) Constructor.
addGlobalIgnoredName ( string $name ) Add a new annotation to the globally ignored annotation names with regard to exception handling.
addGlobalIgnoredNamespace ( string $namespace ) Add a new annotation to the globally ignored annotation namespaces with regard to exception handling.
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}

Приватные методы

Метод Описание
collectParsingMetadata ( ReflectionClass $class ) Collects parsing metadata for a given class.
getClassImports ( ReflectionClass $class ) : array Retrieves imports.
getIgnoredAnnotationNames ( ReflectionClass $class ) : array Returns the ignored annotations for the given class.
getMethodImports ( ReflectionMethod $method ) : array Retrieves imports for methods.
getPropertyImports ( ReflectionProperty $property ) : array Retrieves imports for properties.

Описание методов

__construct() публичный Метод

Initializes a new AnnotationReader.
public __construct ( DocParser $parser = null )
$parser DocParser

addGlobalIgnoredName() публичный статический Метод

Add a new annotation to the globally ignored annotation names with regard to exception handling.
public static addGlobalIgnoredName ( string $name )
$name string

addGlobalIgnoredNamespace() публичный статический Метод

Add a new annotation to the globally ignored annotation namespaces with regard to exception handling.
public static addGlobalIgnoredNamespace ( string $namespace )
$namespace string

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