Property | Type | Description | |
---|---|---|---|
$loader | Loader of aspects |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
getAdvicesForClass ( ReflectionClas\ReflectionClass $class, array $advisors ) : array | Go\Aop\Advice[] | Return list of advices for class | |
getAdvicesForFunctions ( Go\ParserReflection\ReflectionFileNamespace $namespace, array $advisors ) : array | Returns list of function advices for namespace |
Method | Description | |
---|---|---|
getAdvicesFromAdvisor ( ReflectionClas\ReflectionClass $class, Go\Aop\PointcutAdvisor $advisor, string $advisorId, Go\Aop\PointFilter $filter ) : array | Returns list of advices from advisor and point filter | |
getFunctionAdvicesFromAdvisor ( Go\ParserReflection\ReflectionFileNamespace $namespace, Go\Aop\PointcutAdvisor $advisor, string $advisorId, Go\Aop\PointFilter $pointcut ) : array | Returns list of function advices for specific namespace | |
getIntroductionFromAdvisor ( ReflectionClas\ReflectionClass $class, Go\Aop\IntroductionAdvisor $advisor, string $advisorId ) : array | Returns list of introduction advices from advisor |
public __construct ( |
||
$loader | Instance of aspect loader | |
$isInterceptFunctions | boolean | Optional flag to enable function interception |
public getAdvicesForClass ( ReflectionClas\ReflectionClass $class, array $advisors ) : array | Go\Aop\Advice[] | ||
$class | ReflectionClas\ReflectionClass | Class to advise |
$advisors | array | List of advisor to match |
return | array | Go\Aop\Advice[] | List of advices for class |
public getAdvicesForFunctions ( Go\ParserReflection\ReflectionFileNamespace $namespace, array $advisors ) : array | ||
$namespace | Go\ParserReflection\ReflectionFileNamespace | |
$advisors | array | List of advisor to match |
return | array |