PHP 클래스 Go\Aop\Pointcut\AndPointcut

상속: implements Go\Aop\Pointcut
파일 보기 프로젝트 열기: goaop/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$first Go\Aop\Pointcut
$kind integer Returns pointcut kind
$second Go\Aop\Pointcut

공개 메소드들

메소드 설명
__construct ( Go\Aop\Pointcut $first, Go\Aop\Pointcut $second ) Signature method matcher constructor
getKind ( ) : integer Returns the kind of point filter
matches ( mixed $point, null | mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean Performs matching of point of code

보호된 메소드들

메소드 설명
matchPart ( Go\Aop\Pointcut $pointcut, ReflectionMethod | ReflectionProperty $point, mixed $context = null, object | string | null $instance = null, array $arguments = null ) : boolean Checks if point filter matches the point

메소드 상세

__construct() 공개 메소드

Signature method matcher constructor
public __construct ( Go\Aop\Pointcut $first, Go\Aop\Pointcut $second )
$first Go\Aop\Pointcut First filter
$second Go\Aop\Pointcut Second filter

getKind() 공개 메소드

Returns the kind of point filter
public getKind ( ) : integer
리턴 integer

matchPart() 보호된 메소드

Checks if point filter matches the point
protected matchPart ( Go\Aop\Pointcut $pointcut, ReflectionMethod | ReflectionProperty $point, mixed $context = null, object | string | null $instance = null, array $arguments = null ) : boolean
$pointcut Go\Aop\Pointcut Pointcut part
$point ReflectionMethod | ReflectionProperty
$context mixed Related context, can be class or namespace
$instance object | string | null [Optional] Instance for dynamic matching
$arguments array [Optional] Extra arguments for dynamic matching
리턴 boolean

matches() 공개 메소드

Performs matching of point of code
public matches ( mixed $point, null | mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean
$point mixed Specific part of code, can be any Reflection class
$context null | mixed Related context, can be class or namespace
$instance null | string | object Invocation instance or string for static calls
$arguments array Dynamic arguments for method
리턴 boolean

프로퍼티 상세

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

protected Pointcut,Go\Aop $first
리턴 Go\Aop\Pointcut

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

Returns pointcut kind
protected int $kind
리턴 integer

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

protected Pointcut,Go\Aop $second
리턴 Go\Aop\Pointcut