An aspect kernel manages a set of aspects.
The aspect kernel is used to tell Go! AOP about every \FeaturePhp\Aspect\Aspect from selected artifacts
(see \FeaturePhp\Generator\AspectGenerator).
To use it, include the generated aspect kernel into the application and call its
init
method (see https://github.com/goaop/framework).
package | Default |
---|
__construct()
addAspect(\FeaturePhp\Aspect\Aspect $aspect)
\FeaturePhp\Aspect\Aspect
generateFiles(string $class, string $target)
This includes all aspect files and the aspect kernel itself.
string
string
$aspects : array<mixed,\FeaturePhp\Aspect\Aspect>