PHP Class Go\Aop\Pointcut\TruePointcut

Inheritance: implements Go\Aop\Pointcut
Datei anzeigen Open project: goaop/framework Class Usage Examples

Protected Properties

Property Type Description
$filterKind integer Filter kind

Public Methods

Method Description
__construct ( integer $filterKind = self::KIND_ALL ) Default constructor can be used to specify concrete filter kind
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

Method Details

__construct() public method

Default constructor can be used to specify concrete filter kind
public __construct ( integer $filterKind = self::KIND_ALL )
$filterKind integer Kind of filter, e.g. KIND_METHOD

getKind() public method

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

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

Property Details

$filterKind protected_oe property

Filter kind
protected int $filterKind
return integer