vendor/andanteproject/soft-deletable-bundle/src/AndanteSoftDeletableBundle.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Andante\SoftDeletableBundle;
  4. use Andante\SoftDeletableBundle\DependencyInjection\Compiler\DoctrineEventSubscriberPass;
  5. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. class AndanteSoftDeletableBundle extends Bundle
  9. {
  10.     public function build(ContainerBuilder $container): void
  11.     {
  12.         parent::build($container);
  13.         $container->addCompilerPass(new DoctrineEventSubscriberPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION10);
  14.     }
  15. }