forked from uvdesk/core-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UVDeskCoreFrameworkBundle.php
30 lines (25 loc) · 1012 Bytes
/
UVDeskCoreFrameworkBundle.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
29
30
<?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;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
class UVDeskCoreFrameworkBundle extends Bundle
{
public function getContainerExtension(): ?ExtensionInterface
{
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());
}
}