forked from stephpy/timeline-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpyTimelineBundle.php
28 lines (25 loc) · 1.16 KB
/
SpyTimelineBundle.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 Spy\TimelineBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Spy\TimelineBundle\DependencyInjection\Compiler\AddSpreadCompilerPass;
use Spy\TimelineBundle\DependencyInjection\Compiler\AddFilterCompilerPass;
use Spy\TimelineBundle\DependencyInjection\Compiler\AddRegistryCompilerPass;
use Spy\TimelineBundle\DependencyInjection\Compiler\AddDeliveryMethodCompilerPass;
use Spy\TimelineBundle\DependencyInjection\Compiler\AddLocatorCompilerPass;
use Spy\TimelineBundle\DependencyInjection\Compiler\AddComponentDataResolver;
class SpyTimelineBundle extends Bundle
{
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new AddSpreadCompilerPass());
$container->addCompilerPass(new AddFilterCompilerPass());
$container->addCompilerPass(new AddRegistryCompilerPass());
$container->addCompilerPass(new AddDeliveryMethodCompilerPass());
$container->addCompilerPass(new AddLocatorCompilerPass());
$container->addCompilerPass(new AddComponentDataResolver());
}
}