PHP Class Go\Aop\Support\LazyPointcutAdvisor

Inheritance: extends AbstractGenericPointcutAdvisor
显示文件 Open project: goaop/framework

Public Methods

Method Description
__construct ( Go\Core\AspectContainer $container, string $pointcutExpression, Go\Aop\Advice $advice ) Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.
getPointcut ( ) : Go\Aop\Pointcut Get the Pointcut that drives this advisor.

Method Details

__construct() public method

Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.
public __construct ( Go\Core\AspectContainer $container, string $pointcutExpression, Go\Aop\Advice $advice )
$container Go\Core\AspectContainer Instance of container
$pointcutExpression string The Pointcut targeting the Advice
$advice Go\Aop\Advice The Advice to run when Pointcut matches

getPointcut() public method

Get the Pointcut that drives this advisor.
public getPointcut ( ) : Go\Aop\Pointcut
return Go\Aop\Pointcut The pointcut