PHP 클래스 Neos\Flow\Aop\Pointcut\PointcutClassTypeFilter

상속: implements Neos\Flow\Aop\Pointcut\PointcutFilterInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$interfaceOrClassName string An interface name to match class types
$isInterface boolean If the type specified by the expression is an interface (or class)
$reflectionService Neos\Flow\Reflection\ReflectionService

공개 메소드들

메소드 설명
__construct ( string $interfaceOrClassName ) The constructor - initializes the class type filter with the class or interface name
getRuntimeEvaluationsDefinition ( ) : array Returns runtime evaluations for the pointcut.
hasRuntimeEvaluationsDefinition ( ) : boolean Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut
injectReflectionService ( ReflectionService $reflectionService ) : void Injects the reflection service
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean Checks if the specified class matches with the class type filter
reduceTargetClassNames ( ClassNameIndex $classNameIndex ) : ClassNameIndex This method is used to optimize the matching process.

메소드 상세

__construct() 공개 메소드

The constructor - initializes the class type filter with the class or interface name
public __construct ( string $interfaceOrClassName )
$interfaceOrClassName string Interface or a class name to match against

getRuntimeEvaluationsDefinition() 공개 메소드

Returns runtime evaluations for the pointcut.
public getRuntimeEvaluationsDefinition ( ) : array
리턴 array Runtime evaluations

hasRuntimeEvaluationsDefinition() 공개 메소드

Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut
public hasRuntimeEvaluationsDefinition ( ) : boolean
리턴 boolean TRUE if this filter has runtime evaluations

injectReflectionService() 공개 메소드

Injects the reflection service
public injectReflectionService ( ReflectionService $reflectionService ) : void
$reflectionService Neos\Flow\Reflection\ReflectionService The reflection service
리턴 void

matches() 공개 메소드

Checks if the specified class matches with the class type filter
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean
$className string Name of the class to check against
$methodName string Name of the method - not used here
$methodDeclaringClassName string Name of the class the method was originally declared in - not used here
$pointcutQueryIdentifier mixed Some identifier for this query - must at least differ from a previous identifier. Used for circular reference detection.
리턴 boolean TRUE if the class matches, otherwise FALSE

reduceTargetClassNames() 공개 메소드

This method is used to optimize the matching process.
public reduceTargetClassNames ( ClassNameIndex $classNameIndex ) : ClassNameIndex
$classNameIndex Neos\Flow\Aop\Builder\ClassNameIndex
리턴 Neos\Flow\Aop\Builder\ClassNameIndex

프로퍼티 상세

$interfaceOrClassName 보호되어 있는 프로퍼티

An interface name to match class types
protected string $interfaceOrClassName
리턴 string

$isInterface 보호되어 있는 프로퍼티

If the type specified by the expression is an interface (or class)
protected bool $isInterface
리턴 boolean

$reflectionService 보호되어 있는 프로퍼티

protected ReflectionService,Neos\Flow\Reflection $reflectionService
리턴 Neos\Flow\Reflection\ReflectionService