vendor/massive/search-bundle/MassiveSearchBundle.php line 22

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the MassiveSearchBundle
  4.  *
  5.  * (c) MASSIVE ART WebServices GmbH
  6.  *
  7.  * This source file is subject to the MIT license that is bundled
  8.  * with this source code in the file LICENSE.
  9.  */
  10. namespace Massive\Bundle\SearchBundle;
  11. use Massive\Bundle\SearchBundle\DependencyInjection\Compiler\ConverterPass;
  12. use Massive\Bundle\SearchBundle\DependencyInjection\Compiler\MetadataDriverPass;
  13. use Massive\Bundle\SearchBundle\DependencyInjection\Compiler\MetadataFileLocatorPass;
  14. use Massive\Bundle\SearchBundle\DependencyInjection\Compiler\MetadataProviderPass;
  15. use Massive\Bundle\SearchBundle\DependencyInjection\Compiler\ReindexProviderPass;
  16. use Symfony\Component\DependencyInjection\ContainerBuilder;
  17. use Symfony\Component\HttpKernel\Bundle\Bundle;
  18. class MassiveSearchBundle extends Bundle
  19. {
  20.     public function build(ContainerBuilder $container)
  21.     {
  22.         parent::build($container);
  23.         $container->addCompilerPass(new MetadataDriverPass());
  24.         $container->addCompilerPass(new MetadataProviderPass());
  25.         $container->addCompilerPass(new ConverterPass());
  26.         $container->addCompilerPass(new ReindexProviderPass());
  27.         $container->addCompilerPass(new MetadataFileLocatorPass());
  28.     }
  29. }