PHP Class Go\Aop\Support\DeclareParentsAdvisor

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

Méthodes publiques

Méthode Description
__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?

Method Details

__construct() public méthode

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() public méthode

Return string representation of object
public __toString ( ) : string
Résultat string

getAdvice() public méthode

Returns an advice to apply
public getAdvice ( ) : Go\Aop\Advice | Go\Aop\IntroductionInfo | null
Résultat Go\Aop\Advice | Go\Aop\IntroductionInfo | null

getClassFilter() public méthode

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

setClassFilter() public méthode

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

validateInterfaces() public méthode

Invoked before adding an IntroductionAdvisor.
public validateInterfaces ( ) : void
Résultat void