vendor/bornfreee/tactician-domain-events-bundle/src/TacticianDomainEventBundle.php line 10

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