Пример #1
0
 /**
  * Configure an AspectContainer with advisors, aspects and pointcuts
  *
  * @param AspectContainer|Container $container
  *
  * @return void
  */
 protected final function configureAop(AspectContainer $container)
 {
     $aspectIds = $container->getParameter('aspect.list');
     foreach ($aspectIds as $aspectId) {
         $container->registerAspect($container->get($aspectId));
     }
 }