-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathXiFilelibBundle.php
More file actions
31 lines (26 loc) · 926 Bytes
/
XiFilelibBundle.php
File metadata and controls
31 lines (26 loc) · 926 Bytes
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
/**
* This file is part of the Xi FilelibBundle package.
*
* For copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Xi\Bundle\FilelibBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Xi\Bundle\FilelibBundle\DependencyInjection\Compiler\EventListenerPass;
use Xi\Bundle\FilelibBundle\DependencyInjection\Compiler\ProfilePass;
use Xi\Bundle\FilelibBundle\DependencyInjection\Compiler\PluginPass;
class XiFilelibBundle extends Bundle
{
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new ProfilePass());
$container->addCompilerPass(new PluginPass());
$container->addCompilerPass(new EventListenerPass());
}
}