PHP Class Go\Aop\Framework\AbstractJoinpoint

Join points are points in the execution of the system, such as method calls, where behavior supplied by aspects is combined. A join point is a point in the execution of the program, which is used to define the dynamic structure of a crosscutting concern.
Inheritance: implements Go\Aop\Intercept\Joinpoint
Datei anzeigen Open project: goaop/framework Class Usage Examples

Protected Properties

Property Type Description
$advices array | Go\Aop\Advice[] List of advices
$current integer Current advice index
$level integer Recursion level for invocation
$stackFrames array Stack frames to work with recursive calls or with cross-calls inside object

Public Methods

Method Description
__construct ( array $advices ) Initializes list of advices for current joinpoint
sortAdvices ( array $advices ) : array | Go\Aop\Advice[] Sorts advices by priority

Method Details

__construct() public method

Initializes list of advices for current joinpoint
public __construct ( array $advices )
$advices array List of advices

sortAdvices() public static method

Sorts advices by priority
public static sortAdvices ( array $advices ) : array | Go\Aop\Advice[]
$advices array
return array | Go\Aop\Advice[] Sorted list of advices

Property Details

$advices protected_oe property

List of advices
protected array|Advice[],Go\Aop $advices
return array | Go\Aop\Advice[]

$current protected_oe property

Current advice index
protected int $current
return integer

$level protected_oe property

Recursion level for invocation
protected int $level
return integer

$stackFrames protected_oe property

Stack frames to work with recursive calls or with cross-calls inside object
protected array $stackFrames
return array