vendor/rickysu/di-extra-bundle/RSDiExtraBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace RS\DiExtraBundle;
  3. use RS\DiExtraBundle\DependencyInjection\Compiler\AnnotationCompilerPass;
  4. use RS\DiExtraBundle\DependencyInjection\Compiler\ControllerInjectionCompilerPass;
  5. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. class RSDiExtraBundle extends Bundle
  9. {
  10.     public function build(ContainerBuilder $container)
  11.     {
  12.         $container->addCompilerPass(new AnnotationCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION1024);
  13.     }
  14. }