class PropertyIntroduction (View source)

Implementation of the property introduction declaration.

Properties

protected string $declaringAspectClassName

Name of the aspect declaring this introduction

protected string $propertyName

Name of the introduced property

protected string $propertyVisibility

Visibility of the introduced property

protected mixed $initialValue

The initial value of the property

protected string $propertyDocComment

DocComment of the introduced property

protected Pointcut $pointcut

The pointcut this introduction applies to

Methods

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

Constructor

string
getPropertyName()

Returns the name of the introduced property

string
getPropertyVisibility()

Returns the visibility of the introduced property

mixed
getInitialValue()

No description

string
getPropertyDocComment()

Returns the DocComment of the introduced property

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

Constructor

Parameters

string $declaringAspectClassName

Name of the aspect containing the declaration for this introduction

string $propertyName

Name of the property to introduce

Pointcut $pointcut

The pointcut for this introduction

string getPropertyName()

Returns the name of the introduced property

Return Value

string

Name of the introduced property

string getPropertyVisibility()

Returns the visibility of the introduced property

Return Value

string

Visibility of the introduced property

mixed getInitialValue()

No description

Return Value

mixed

string getPropertyDocComment()

Returns the DocComment of the introduced property

Return Value

string

DocComment of the introduced property

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