vendor/kunstmaan/search-bundle/KunstmaanSearchBundle.php line 10

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