vendor/doctrine/doctrine-migrations-bundle/DoctrineMigrationsBundle.php line 15

Open in your IDE?
  1. <?php
  2. namespace Doctrine\Bundle\MigrationsBundle;
  3. use Doctrine\Bundle\MigrationsBundle\DependencyInjection\CompilerPass\ConfigureDependencyFactoryPass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. /**
  7.  * Bundle.
  8.  *
  9.  * @author Fabien Potencier <fabien@symfony.com>
  10.  * @author Jonathan H. Wage <jonwage@gmail.com>
  11.  */
  12. class DoctrineMigrationsBundle extends Bundle
  13. {
  14.     /** @return void */
  15.     public function build(ContainerBuilder $container)
  16.     {
  17.       $container->addCompilerPass(new ConfigureDependencyFactoryPass());
  18.     }
  19. }