vendor/dama/doctrine-test-bundle/src/DAMA/DoctrineTestBundle/DAMADoctrineTestBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace DAMA\DoctrineTestBundle;
  3. use DAMA\DoctrineTestBundle\DependencyInjection\DoctrineTestCompilerPass;
  4. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. class DAMADoctrineTestBundle extends Bundle
  8. {
  9.     /**
  10.      * {@inheritdoc}
  11.      */
  12.     public function build(ContainerBuilder $container): void
  13.     {
  14.         parent::build($container);
  15.         // lower priority than CacheCompatibilityPass from DoctrineBundle
  16.         $container->addCompilerPass(new DoctrineTestCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -1);
  17.     }
  18. }