PHP Class Go\Aop\Pointcut\PointcutReference

Inheritance: implements Go\Aop\Pointcut
Afficher le fichier Open project: goaop/framework

Protected Properties

Свойство Type Description
$pointcut Go\Aop\Pointcut

Méthodes publiques

Méthode 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 méthode

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

__sleep() public méthode

public __sleep ( )

__wakeup() public méthode

public __wakeup ( )

getClassFilter() public méthode

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

getKind() public méthode

Returns the kind of point filter
public getKind ( ) : integer
Résultat integer

getPointcut() public méthode

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

matches() public méthode

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
Résultat boolean

Property Details

$pointcut protected_oe property

protected Pointcut,Go\Aop $pointcut
Résultat Go\Aop\Pointcut