PHP Class Go\Aop\Pointcut\PointcutReference

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

Protected Properties

Property Type Description
$pointcut Go\Aop\Pointcut

Public Methods

Method Description
__construct ( Go\Core\AspectContainer $container, string $pointcutName ) Pointcut reference constructor
__sleep ( )
__wakeup ( )
getClassFilter ( ) : Go\Aop\PointFilter Return the class filter for this pointcut.
getKind ( ) : integer Returns the kind of point filter
getPointcut ( ) : Go\Aop\Pointcut Returns a real pointcut from the container
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

Pointcut reference constructor
public __construct ( Go\Core\AspectContainer $container, string $pointcutName )
$container Go\Core\AspectContainer Instance of container
$pointcutName string Referenced pointcut

__sleep() public method

public __sleep ( )

__wakeup() public method

public __wakeup ( )

getClassFilter() public method

Return the class filter for this pointcut.
public getClassFilter ( ) : Go\Aop\PointFilter
return Go\Aop\PointFilter

getKind() public method

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

getPointcut() public method

Returns a real pointcut from the container
public getPointcut ( ) : Go\Aop\Pointcut
return Go\Aop\Pointcut

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

$pointcut protected_oe property

protected Pointcut,Go\Aop $pointcut
return Go\Aop\Pointcut