forked from uvdesk/extension-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUVDeskExtensionFrameworkBundle.php
More file actions
28 lines (23 loc) · 961 Bytes
/
UVDeskExtensionFrameworkBundle.php
File metadata and controls
28 lines (23 loc) · 961 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
<?php
namespace Webkul\UVDesk\ExtensionFrameworkBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\ContainerExtension;
use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\Passes\RoutingPass;
use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\Passes\ConfigurationPass;
use Webkul\UVDesk\ExtensionFrameworkBundle\DependencyInjection\Passes\PackageConfigurationPass;
class UVDeskExtensionFrameworkBundle extends Bundle
{
public function getContainerExtension()
{
return new ContainerExtension();
}
public function build(ContainerBuilder $container)
{
parent::build($container);
$container
->addCompilerPass(new RoutingPass())
->addCompilerPass(new ConfigurationPass())
->addCompilerPass(new PackageConfigurationPass());
}
}