PHP 클래스 Go\Aop\Support\DefaultPointcutAdvisor
This is the most commonly used Advisor implementation. It can be used with any pointcut and advice type,
except for introductions. There is normally no need to subclass this class, or to implement custom Advisors.
파일 보기
프로젝트 열기: goaop/framework
공개 메소드들
메소드 |
설명 |
|
__construct ( Go\Aop\Pointcut $pointcut, Go\Aop\Advice $advice ) |
Create a DefaultPointcutAdvisor, specifying Pointcut and Advice. |
|
__toString ( ) : string |
Return string representation of object |
|
getAdvice ( ) |
|
|
getPointcut ( ) : Go\Aop\Pointcut |
Get the Pointcut that drives this advisor. |
|
setPointcut ( Go\Aop\Pointcut $pointcut ) |
Specify the pointcut targeting the advice. |
|
메소드 상세
Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.
public __construct ( Go\Aop\Pointcut $pointcut, Go\Aop\Advice $advice ) |
$pointcut |
Go\Aop\Pointcut |
The Pointcut targeting the Advice |
$advice |
Go\Aop\Advice |
The Advice to run when Pointcut matches |
Return string representation of object
Get the Pointcut that drives this advisor.
public getPointcut ( ) : Go\Aop\Pointcut |
리턴 |
Go\Aop\Pointcut |
The pointcut |
Specify the pointcut targeting the advice.
public setPointcut ( Go\Aop\Pointcut $pointcut ) |
$pointcut |
Go\Aop\Pointcut |
The Pointcut targeting the Advice |