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

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