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