vendor/doctrine/doctrine-fixtures-bundle/DoctrineFixturesBundle.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Bundle\FixturesBundle;
  4. use Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\FixturesCompilerPass;
  5. use Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\PurgerFactoryCompilerPass;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. class DoctrineFixturesBundle extends Bundle
  9. {
  10. /** @return void */
  11. public function build(ContainerBuilder $container)
  12. {
  13. $container->addCompilerPass(new FixturesCompilerPass());
  14. $container->addCompilerPass(new PurgerFactoryCompilerPass());
  15. }
  16. }