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
Afficher le fichier Open project: goaop/framework Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

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

sortAdvices() public static méthode

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

Property Details

$advices protected_oe property

List of advices
protected array|Advice[],Go\Aop $advices
Résultat array | Go\Aop\Advice[]

$current protected_oe property

Current advice index
protected int $current
Résultat integer

$level protected_oe property

Recursion level for invocation
protected int $level
Résultat integer

$stackFrames protected_oe property

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