-
Notifications
You must be signed in to change notification settings - Fork 3
/
DatathekePagerBundle.php
28 lines (23 loc) · 1.22 KB
/
DatathekePagerBundle.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
<?php
namespace Datatheke\Bundle\PagerBundle;
use Datatheke\Bundle\PagerBundle\DependencyInjection\Compiler\AdapterGuesserCompilerPass;
use Datatheke\Bundle\PagerBundle\DependencyInjection\Compiler\ColumnGuesserCompilerPass;
use Datatheke\Bundle\PagerBundle\DependencyInjection\Compiler\DoctrineMongoDBCompilerPass;
use Datatheke\Bundle\PagerBundle\DependencyInjection\Compiler\DoctrineORMCompilerPass;
use Datatheke\Bundle\PagerBundle\DependencyInjection\Compiler\HandlerCompilerPass;
use Datatheke\Bundle\PagerBundle\DependencyInjection\Compiler\JMSSerializerCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class DatathekePagerBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new DoctrineMongoDBCompilerPass());
$container->addCompilerPass(new DoctrineORMCompilerPass());
$container->addCompilerPass(new JMSSerializerCompilerPass());
$container->addCompilerPass(new AdapterGuesserCompilerPass());
$container->addCompilerPass(new ColumnGuesserCompilerPass());
$container->addCompilerPass(new HandlerCompilerPass());
}
}