src/Hitso/Bundle/RoutingBundle/HitsoRoutingBundle.php line 16

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Hitso\Bundle\RoutingBundle;
  4. use Hitso\Bundle\RoutingBundle\DependencyInjection\Compiler\SetRouterPass;
  5. use Symfony\Component\DependencyInjection\Compiler\PassConfig;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. /**
  9.  * HitsoRoutingBundle
  10.  *
  11.  * @codeCoverageIgnore
  12.  */
  13. class HitsoRoutingBundle extends Bundle
  14. {
  15.     public function build(ContainerBuilder $container)
  16.     {
  17.         $container->addCompilerPass(new SetRouterPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -100);
  18.     }
  19. }