1234567891011121314151617181920212223 |
- <?php
- declare(strict_types=1);
- namespace Doctrine\Bundle\FixturesBundle;
- use Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\FixturesCompilerPass;
- use Doctrine\Bundle\FixturesBundle\DependencyInjection\CompilerPass\PurgerFactoryCompilerPass;
- use Symfony\Component\DependencyInjection\ContainerBuilder;
- use Symfony\Component\HttpKernel\Bundle\Bundle;
- /**
- * Bundle.
- */
- class DoctrineFixturesBundle extends Bundle
- {
- // phpcs:ignore SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint
- public function build(ContainerBuilder $container)
- {
- $container->addCompilerPass(new FixturesCompilerPass());
- $container->addCompilerPass(new PurgerFactoryCompilerPass());
- }
- }
|