PHP Класс Go\Aop\Pointcut\AnnotationPointcut

Наследование: implements Go\Aop\Pointcut, use trait PointcutClassFilterTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$annotationMethod string Method to call for annotation reader
$annotationName string Annotation class to match
$annotationReader null | Doctrine\Common\Annotations\Reader Annotation reader
$expectedClass string Specifies name of the expected class to receive
$filterKind integer Kind of current filter, can be KIND_CLASS, KIND_METHOD, KIND_PROPERTY, KIND_TRAIT
$mappings array Static mappings of kind to expected class and method name

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

Метод Описание
__construct ( integer $filterKind, Doctrine\Common\Annotations\Reader $reader, string $annotationName ) Annotation matcher constructor
getKind ( ) : integer Returns the kind of point filter
matches ( ReflectionClas\ReflectionClass | ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty $point, $context = null, $instance = null, array $arguments = null )

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

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

Annotation matcher constructor
public __construct ( integer $filterKind, Doctrine\Common\Annotations\Reader $reader, string $annotationName )
$filterKind integer Kind of filter, e.g. KIND_CLASS
$reader Doctrine\Common\Annotations\Reader Reader of annotations
$annotationName string Annotation class name to match

getKind() публичный метод

Returns the kind of point filter
public getKind ( ) : integer
Результат integer

matches() публичный метод

public matches ( ReflectionClas\ReflectionClass | ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty $point, $context = null, $instance = null, array $arguments = null )
$point ReflectionClas\ReflectionClass | ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty {@inheritdoc}
$arguments array

Описание свойств

$annotationMethod защищенное свойство

Method to call for annotation reader
protected string $annotationMethod
Результат string

$annotationName защищенное свойство

Annotation class to match
protected string $annotationName
Результат string

$annotationReader защищенное свойство

Annotation reader
protected null|Reader,Doctrine\Common\Annotations $annotationReader
Результат null | Doctrine\Common\Annotations\Reader

$expectedClass защищенное свойство

Specifies name of the expected class to receive
protected string $expectedClass
Результат string

$filterKind защищенное свойство

Kind of current filter, can be KIND_CLASS, KIND_METHOD, KIND_PROPERTY, KIND_TRAIT
protected int $filterKind
Результат integer

$mappings защищенное статическое свойство

Static mappings of kind to expected class and method name
protected static array $mappings
Результат array