PHP 클래스 Go\Aop\Support\DeclareParentsAdvisor

상속: implements Go\Aop\IntroductionAdvisor
파일 보기 프로젝트 열기: goaop/framework

공개 메소드들

메소드 설명
__construct ( Go\Aop\PointFilter $classFilter, Go\Aop\IntroductionInfo $info ) Create a DefaultIntroductionAdvisor for the given advice.
__toString ( ) : string Return string representation of object
getAdvice ( ) : Go\Aop\Advice | Go\Aop\IntroductionInfo | null Returns an advice to apply
getClassFilter ( ) : Go\Aop\PointFilter Return the filter determining which target classes this introduction should apply to.
setClassFilter ( Go\Aop\PointFilter $classFilter ) Set the class filter for advisor
validateInterfaces ( ) : void Can the advised interfaces be implemented by the introduction advice?

메소드 상세

__construct() 공개 메소드

Create a DefaultIntroductionAdvisor for the given advice.
public __construct ( Go\Aop\PointFilter $classFilter, Go\Aop\IntroductionInfo $info )
$classFilter Go\Aop\PointFilter
$info Go\Aop\IntroductionInfo

__toString() 공개 메소드

Return string representation of object
public __toString ( ) : string
리턴 string

getAdvice() 공개 메소드

Returns an advice to apply
public getAdvice ( ) : Go\Aop\Advice | Go\Aop\IntroductionInfo | null
리턴 Go\Aop\Advice | Go\Aop\IntroductionInfo | null

getClassFilter() 공개 메소드

This represents the class part of a pointcut. Note that method matching doesn't make sense to introductions.
public getClassFilter ( ) : Go\Aop\PointFilter
리턴 Go\Aop\PointFilter The class filter

setClassFilter() 공개 메소드

Set the class filter for advisor
public setClassFilter ( Go\Aop\PointFilter $classFilter )
$classFilter Go\Aop\PointFilter Filter for classes

validateInterfaces() 공개 메소드

Invoked before adding an IntroductionAdvisor.
public validateInterfaces ( ) : void
리턴 void