forked from egeloen/IvoryCKEditorBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIvoryCKEditorBundle.php
38 lines (34 loc) · 1.07 KB
/
IvoryCKEditorBundle.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
31
32
33
34
35
36
37
38
<?php
/*
* This file is part of the Ivory CKEditor package.
*
* (c) Eric GELOEN <[email protected]>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\CKEditorBundle;
use Ivory\CKEditorBundle\DependencyInjection\Compiler\AssetsHelperCompilerPass;
use Ivory\CKEditorBundle\DependencyInjection\Compiler\ResourceCompilerPass;
use Ivory\CKEditorBundle\DependencyInjection\Compiler\TemplatingCompilerPass;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* Ivory CKEditor bundle.
*
* @author GeLo <[email protected]>
* @author Adam Misiorny <[email protected]>
*/
class IvoryCKEditorBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
$container
->addCompilerPass(new AssetsHelperCompilerPass())
->addCompilerPass(new ResourceCompilerPass())
->addCompilerPass(new TemplatingCompilerPass());
}
}