class Aspect

Methods

parse(string $class)

Parse the aspects that target the given class.

static array
isMatchClassRule(string $target, string $rule)

Determine if a target matches a class rule.

static bool
isMatch(string $class, string $method, string $rule)

Determine if a class method matches a rule.

Details

at line 12
static RewriteCollection parse(string $class)

Parse the aspects that target the given class.

Parameters

string $class

Return Value

RewriteCollection

at line 29
static array isMatchClassRule(string $target, string $rule)

Determine if a target matches a class rule.

Parameters

string $target
string $rule

Return Value

array

[isMatch, matchedMethod]

at line 117
static bool isMatch(string $class, string $method, string $rule)

Determine if a class method matches a rule.

Parameters

string $class
string $method
string $rule

Return Value

bool