-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRollerworksSearchBundle.php
More file actions
31 lines (26 loc) · 1 KB
/
RollerworksSearchBundle.php
File metadata and controls
31 lines (26 loc) · 1 KB
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
<?php
declare(strict_types=1);
/*
* This file is part of the RollerworksSearch package.
*
* (c) Sebastiaan Stok <s.stok@rollerscapes.net>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Rollerworks\Bundle\SearchBundle;
use Rollerworks\Bundle\SearchBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class RollerworksSearchBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new Compiler\ExtensionPass());
$container->addCompilerPass(new Compiler\InputProcessorPass());
$container->addCompilerPass(new Compiler\ExporterPass());
$container->addCompilerPass(new Compiler\FieldSetRegistryPass());
$container->addCompilerPass(new Compiler\DoctrineOrmPass());
$container->addCompilerPass(new Compiler\ElasticaClientPass());
}
}