vendor/kunstmaan/user-management-bundle/KunstmaanUserManagementBundle.php line 11

Open in your IDE?
  1. <?php
  2. namespace Kunstmaan\UserManagementBundle;
  3. use Kunstmaan\UserManagementBundle\DependencyInjection\Compiler\DeprecateClassParametersPass;
  4. use Kunstmaan\UserManagementBundle\DependencyInjection\Compiler\FixUserManagerPass;
  5. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. class KunstmaanUserManagementBundle extends Bundle
  9. {
  10.     public function build(ContainerBuilder $container)
  11.     {
  12.         parent::build($container);
  13.         $container->addCompilerPass(new FixUserManagerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -1);
  14.         $container->addCompilerPass(new DeprecateClassParametersPass());
  15.     }
  16. }