PHP Class Go\Aop\Pointcut\OrPointcut

Inheritance: extends AndPointcut
Datei anzeigen Open project: goaop/framework

Public Methods

Method Description
__construct ( Go\Aop\Pointcut $first, Go\Aop\Pointcut $second ) Signature method matcher constructor
matches ( mixed $point, null | mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean Performs matching of point of code

Protected Methods

Method Description
matchPart ( Go\Aop\Pointcut $pointcut, $point, $context = null, $instance = null, array $arguments = null )

Method Details

__construct() public method

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

matchPart() protected method

protected matchPart ( Go\Aop\Pointcut $pointcut, $point, $context = null, $instance = null, array $arguments = null )
$pointcut Go\Aop\Pointcut
$arguments array

matches() public method

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
return boolean