forked from uvdesk/core-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUVDeskCoreFrameworkBundle.php
More file actions
29 lines (24 loc) · 919 Bytes
/
UVDeskCoreFrameworkBundle.php
File metadata and controls
29 lines (24 loc) · 919 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
<?php
namespace Webkul\UVDesk\CoreFrameworkBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Webkul\UVDesk\CoreFrameworkBundle\DependencyInjection\Passes;
use Webkul\UVDesk\CoreFrameworkBundle\DependencyInjection\CoreFramework;
class UVDeskCoreFrameworkBundle extends Bundle
{
public function getContainerExtension()
{
return new CoreFramework();
}
public function build(ContainerBuilder $container)
{
parent::build($container);
$container
->addCompilerPass(new Passes\Events())
->addCompilerPass(new Passes\Routes())
->addCompilerPass(new Passes\Extendables())
->addCompilerPass(new Passes\DashboardComponents())
->addCompilerPass(new Passes\Ticket\Widgets())
->addCompilerPass(new Passes\Ticket\QuickActionButtons());
}
}