PHP 클래스 Go\Aop\Framework\TraitIntroductionInfo

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

공개 메소드들

메소드 설명
__construct ( string | string[] $introducedInterfaces, string | string[] $introducedTraits ) Create a DefaultIntroductionAdvisor for the given advice.
getInterfaces ( ) : array | string[] Return the additional interfaces introduced by this Advisor or Advice.
getTraits ( ) : array | string[] Return the list of traits with realization of introduced interfaces

메소드 상세

__construct() 공개 메소드

Create a DefaultIntroductionAdvisor for the given advice.
public __construct ( string | string[] $introducedInterfaces, string | string[] $introducedTraits )
$introducedInterfaces string | string[] List of introduced interfaces
$introducedTraits string | string[] List of introduced traits

getInterfaces() 공개 메소드

Return the additional interfaces introduced by this Advisor or Advice.
public getInterfaces ( ) : array | string[]
리턴 array | string[] introduced interfaces

getTraits() 공개 메소드

Return the list of traits with realization of introduced interfaces
public getTraits ( ) : array | string[]
리턴 array | string[] trait implementations