class InterfaceIntroduction (View source)

Implementation of the interface introduction declaration.

Properties

protected string $declaringAspectClassName

Name of the aspect declaring this introduction

protected string $interfaceName

Name of the introduced interface

protected Pointcut $pointcut

The pointcut this introduction applies to

Methods

__construct(string $declaringAspectClassName, string $interfaceName, Pointcut $pointcut)

Constructor

string
getInterfaceName()

Returns the name of the introduced interface

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 $interfaceName, Pointcut $pointcut)

Constructor

Parameters

string $declaringAspectClassName

Name of the aspect containing the declaration for this introduction

string $interfaceName

Name of the interface to introduce

Pointcut $pointcut

The pointcut for this introduction

string getInterfaceName()

Returns the name of the introduced interface

Return Value

string

Name of the introduced interface

Pointcut getPointcut()

Returns the pointcut this introduction applies to

Return Value

Pointcut

The pointcut

string getDeclaringAspectClassName()

Returns the object name of the aspect which declared this introduction

Return Value

string

The aspect object name