vendor/crea/security-bundle/src/CreaSecurityBundle.php line 12

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