PHP Interface Go\Aop\Intercept\Joinpoint

A runtime joinpoint is an event that occurs on a static joinpoint (i.e. a location in a the program). For instance, an invocation is the runtime joinpoint on a method (static joinpoint). The static part of a given joinpoint can be generically retrieved using the getStaticPart() method. In the context of an interception framework, a runtime joinpoint is then the reification of an access to an accessible object (a method, a constructor, a field), i.e. the static part of the joinpoint. It is passed to the interceptors that are installed on the static joinpoint.
See also: Interceptor
Datei anzeigen Open project: goaop/framework Interface Usage Examples

Public Methods

Method Description
__toString ( ) : string Returns a friendly description of current joinpoint
getStaticPart ( ) : object Returns the static part of this joinpoint.
getThis ( ) : object | string Returns the object that holds the current joinpoint's static part.
proceed ( ) : mixed Proceeds to the next interceptor in the chain.

Method Details

__toString() public method

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

getStaticPart() public method

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

getThis() public method

Returns the object that holds the current joinpoint's static part.
public getThis ( ) : object | string
return object | string the object for dynamic call or string with name of scope

proceed() public method

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