vendor/kunstmaan/fixtures-bundle/KunstmaanFixturesBundle.php line 12

Open in your IDE?
  1. <?php
  2. namespace Kunstmaan\FixturesBundle;
  3. use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\BuilderCompilerPass;
  4. use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\ParserCompilerPass;
  5. use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\PopulatorCompilerPass;
  6. use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\ProviderCompilerPass;
  7. use Symfony\Component\DependencyInjection\ContainerBuilder;
  8. use Symfony\Component\HttpKernel\Bundle\Bundle;
  9. class KunstmaanFixturesBundle extends Bundle
  10. {
  11.     public function build(ContainerBuilder $container)
  12.     {
  13.         parent::build($container);
  14.         $container->addCompilerPass(new BuilderCompilerPass());
  15.         $container->addCompilerPass(new PopulatorCompilerPass());
  16.         $container->addCompilerPass(new ParserCompilerPass());
  17.         $container->addCompilerPass(new ProviderCompilerPass());
  18.     }
  19. }