vendor/novaway/core-bundle/src/NovawayCoreBundle.php line 11

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Novaway\CoreBundle;
  4. use Novaway\CoreBundle\DependencyInjection\CompilerPass\FillRepositoryMappingPass;
  5. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. class NovawayCoreBundle extends Bundle
  9. {
  10.     public function build(ContainerBuilder $container)
  11.     {
  12.         parent::build($container);
  13.         $container->addCompilerPass(new FillRepositoryMappingPass(), PassConfig::TYPE_BEFORE_REMOVING);
  14.     }
  15. }