-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCCDNGuiBundle.php
More file actions
29 lines (27 loc) · 855 Bytes
/
CCDNGuiBundle.php
File metadata and controls
29 lines (27 loc) · 855 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 CCDN\GuiBundle;
use CCDN\GuiBundle\DependencyInjection\Compiler\PanelCompilerPass;
use CCDN\GuiBundle\DependencyInjection\Compiler\TypeFactoryCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* @category CCDN
* @package GuiBundle
*
* @author Reece Fowell <reece@codeconsortium.com>
* @license http://opensource.org/licenses/MIT MIT
* @version Release: 1.0
* @link https://github.com/codeconsortium/CCDNGuiBundle
*/
class CCDNGuiBundle extends Bundle
{
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new PanelCompilerPass());
$container->addCompilerPass(new TypeFactoryCompilerPass());
}
}