PHP Класс Go\Aop\Support\DeclareParentsAdvisor

Наследование: implements Go\Aop\IntroductionAdvisor
Показать файл Открыть проект

Открытые методы

Метод Описание
__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