vendor/kunstmaan/node-search-bundle/KunstmaanNodeSearchBundle.php line 13

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