vendor/netzmacht/contao-page-context/src/NetzmachtContaoPageContextBundle.php line 11

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Netzmacht\Contao\PageContext;
  4. use Netzmacht\Contao\PageContext\DependencyInjection\Compiler\PageIdDeterminatorPass;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. final class NetzmachtContaoPageContextBundle extends Bundle
  8. {
  9.     public function build(ContainerBuilder $container): void
  10.     {
  11.         parent::build($container);
  12.         $container->addCompilerPass(new PageIdDeterminatorPass());
  13.     }
  14. }