vendor/doctrine/doctrine-migrations-bundle/src/DoctrineMigrationsBundle.php line 13

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Bundle\MigrationsBundle;
  4. use Doctrine\Bundle\MigrationsBundle\DependencyInjection\CompilerPass\ConfigureDependencyFactoryPass;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. use function dirname;
  8. class DoctrineMigrationsBundle extends Bundle
  9. {
  10. /** @return void */
  11. public function build(ContainerBuilder $container)
  12. {
  13. $container->addCompilerPass(new ConfigureDependencyFactoryPass());
  14. }
  15. public function getPath(): string
  16. {
  17. return dirname(__DIR__);
  18. }
  19. }