PHP Class Go\Aop\Framework\StaticInitializationJoinpoint

Inheritance: extends AbstractJoinpoint
Datei anzeigen Open project: goaop/framework

Protected Properties

Property Type Description
$reflectionClass ReflectionClass

Public Methods

Method Description
__construct ( string $className, string $type, array $advices ) Constructor for static initialization joinpoint
__invoke ( ) : mixed Invokes current joinpoint with all interceptors
__toString ( ) : string Returns a friendly description of current joinpoint
getStaticPart ( ) : ReflectionClass Returns the static part of this joinpoint.
getThis ( ) : object | null Returns the object that holds the current joinpoint's static part.
proceed ( ) : mixed Proceeds to the next interceptor in the chain.

Method Details

__construct() public method

Constructor for static initialization joinpoint
public __construct ( string $className, string $type, array $advices )
$className string Name of the class
$type string Type of joinpoint
$advices array array List of advices for this invocation

__invoke() final public method

Invokes current joinpoint with all interceptors
final public __invoke ( ) : mixed
return mixed

__toString() final public method

Returns a friendly description of current joinpoint
final public __toString ( ) : string
return string

getStaticPart() public method

Returns the static part of this joinpoint.
public getStaticPart ( ) : ReflectionClass
return ReflectionClass

getThis() public method

Returns the object that holds the current joinpoint's static part.
public getThis ( ) : object | null
return object | null the object (can be null if the accessible object is static).

proceed() public method

Proceeds to the next interceptor in the chain.
public proceed ( ) : mixed
return mixed see the children interfaces' proceed definition.

Property Details

$reflectionClass protected_oe property

protected ReflectionClass $reflectionClass
return ReflectionClass