| 1 | <?php |
||
| 19 | class AwesomeAspectKernel extends AspectKernel |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Configure an AspectContainer with advisors, aspects and pointcuts |
||
| 23 | * |
||
| 24 | * @param AspectContainer $container |
||
| 25 | * |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | protected function configureAop(AspectContainer $container) |
||
| 29 | { |
||
| 30 | $container->registerAspect(new DeclareErrorAspect()); |
||
| 31 | $container->registerAspect(new CachingAspect()); |
||
| 32 | $container->registerAspect(new LoggingAspect()); |
||
| 33 | $container->registerAspect(new IntroductionAspect()); |
||
| 34 | $container->registerAspect(new PropertyInterceptorAspect()); |
||
| 35 | $container->registerAspect(new FunctionInterceptorAspect()); |
||
| 36 | $container->registerAspect(new FluentInterfaceAspect()); |
||
| 37 | $container->registerAspect(new HealthyLiveAspect()); |
||
| 38 | $container->registerAspect(new DynamicMethodsAspect()); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |