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. /**
  21. * @return void
  22. */
  23. public function build(ContainerBuilder $container)
  24. {
  25. parent::build($container);
  26. $container->addCompilerPass(new MetadataDriverPass());
  27. $container->addCompilerPass(new MetadataProviderPass());
  28. $container->addCompilerPass(new ConverterPass());
  29. $container->addCompilerPass(new ReindexProviderPass());
  30. $container->addCompilerPass(new MetadataFileLocatorPass());
  31. }
  32. }