class AspectManager

Runtime cache of resolved aspects per class::method.

Once the aspect pipeline for a given class method is resolved, it is cached here so subsequent calls skip the resolution logic.

Properties

static protected array<string, array<string, array<int, string>>> $container

Methods

static array
get(string $class, string $method)

Get the resolved aspects for a class method.

static bool
has(string $class, string $method)

Determine if aspects have been resolved for a class method.

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

Set the resolved aspects for a class method.

static void
flushState()

Flush all static state.

Details

at line 23
static array get(string $class, string $method)

Get the resolved aspects for a class method.

Parameters

string $class
string $method

Return Value

array

at line 31
static bool has(string $class, string $method)

Determine if aspects have been resolved for a class method.

Parameters

string $class
string $method

Return Value

bool

at line 39
static void set(string $class, string $method, array $value)

Set the resolved aspects for a class method.

Parameters

string $class
string $method
array $value

Return Value

void

at line 47
static void flushState()

Flush all static state.

Return Value

void