-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathAlphaLemonCmsBundle.php
More file actions
executable file
·43 lines (38 loc) · 1.2 KB
/
AlphaLemonCmsBundle.php
File metadata and controls
executable file
·43 lines (38 loc) · 1.2 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* This file is part of the AlphaLemon CMS Application and it is distributed
* under the GPL LICENSE Version 2.0. To use this application you must leave
* intact this copyright notice.
*
* Copyright (c) AlphaLemon <webmaster@alphalemon.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* For extra documentation and help please visit http://www.alphalemon.com
*
* @license GPL LICENSE Version 2.0
*
*/
namespace AlphaLemon\AlphaLemonCmsBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use AlphaLemon\AlphaLemonCmsBundle\DependencyInjection\Compiler\RegisterCmsListenersPass;
use AlphaLemon\AlphaLemonCmsBundle\Core\Compiler\AlBlocksCompilerPass;
/**
* AlphaLemonCmsBundle
*
* @author alphalemon <webmaster@alphalemon.com>
*/
class AlphaLemonCmsBundle extends Bundle
{
/**
* @inheritdoc
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new RegisterCmsListenersPass());
$container->addCompilerPass(new AlBlocksCompilerPass());
}
}