lib/netgen/content-browser/bundle/NetgenContentBrowserBundle.php line 11

  1. <?php
  2. declare(strict_types=1);
  3. namespace Netgen\Bundle\ContentBrowserBundle;
  4. use Netgen\Bundle\ContentBrowserBundle\DependencyInjection\CompilerPass;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. final class NetgenContentBrowserBundle extends Bundle
  8. {
  9.     public function build(ContainerBuilder $container): void
  10.     {
  11.         $container->addCompilerPass(new CompilerPass\ItemTypePass());
  12.         $container->addCompilerPass(new CompilerPass\ColumnProviderPass());
  13.         $container->addCompilerPass(new CompilerPass\ControllerContainerPass());
  14.     }
  15. }