PHP 클래스 Go\Aop\Pointcut\AnnotationPointcut

상속: implements Go\Aop\Pointcut, use trait PointcutClassFilterTrait
파일 보기 프로젝트 열기: goaop/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$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