TraitIntroduction
class TraitIntroduction (View source)
Implementation of the trait introduction declaration.
Properties
protected string | $declaringAspectClassName | Name of the aspect declaring this introduction |
|
protected string | $traitName | Name of the introduced trait |
|
protected Pointcut | $pointcut | The pointcut this introduction applies to |
Methods
string
getTraitName()
Returns the name of the introduced trait
getPointcut()
Returns the pointcut this introduction applies to
string
getDeclaringAspectClassName()
Returns the object name of the aspect which declared this introduction
Details
__construct(string $declaringAspectClassName, string $traitName, Pointcut $pointcut)
Constructor
string
getTraitName()
Returns the name of the introduced trait
Pointcut
getPointcut()
Returns the pointcut this introduction applies to
string
getDeclaringAspectClassName()
Returns the object name of the aspect which declared this introduction