DoctrineMigrationsBundle.php 569 B

12345678910111213141516171819202122
  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. public function build(ContainerBuilder $builder)
  15. {
  16. $builder->addCompilerPass(new ConfigureDependencyFactoryPass());
  17. }
  18. }