class AspectManager

Cache immutable aspect chains for the worker's intercepted methods.

Properties

static protected ProceedingJoinPoint): mixed>> $chains

Methods

static Closure|null
get(string $class, string $method)

Get the compiled aspect chain for a class method.

static void
set(string $class, string $method, Closure $value)

Set the compiled aspect chain for a class method.

static void
clear()

Clear the compiled aspect chains.

static void
flushState()

Flush all static state.

Details

at line 24
static Closure|null get(string $class, string $method)

Get the compiled aspect chain for a class method.

Parameters

string $class
string $method

Return Value

Closure|null

at line 34
static void set(string $class, string $method, Closure $value)

Set the compiled aspect chain for a class method.

Parameters

string $class
string $method
Closure $value

Return Value

void

at line 45
static void clear()

Clear the compiled aspect chains.

Clearing this worker-wide cache makes subsequent calls compile their chains from the current aspect rules.

Return Value

void

at line 53
static void flushState()

Flush all static state.

Return Value

void