1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the Ivory Form Extra package. |
||
5 | * |
||
6 | * (c) Eric GELOEN <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please read the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace Ivory\FormExtraBundle; |
||
13 | |||
14 | use Ivory\FormExtraBundle\DependencyInjection\Compiler\ResourceCompilerPass; |
||
15 | use Ivory\FormExtraBundle\DependencyInjection\Compiler\TemplatingCompilerPass; |
||
16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
17 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
18 | |||
19 | /** |
||
20 | * Ivory Form Javascript bundle. |
||
21 | * |
||
22 | * @author GeLo <[email protected]> |
||
23 | */ |
||
24 | class IvoryFormExtraBundle extends Bundle |
||
25 | { |
||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | 9 | public function build(ContainerBuilder $container) |
|
30 | { |
||
31 | $container |
||
32 | 9 | ->addCompilerPass(new ResourceCompilerPass()) |
|
33 | 9 | ->addCompilerPass(new TemplatingCompilerPass()); |
|
34 | 9 | } |
|
35 | } |
||
36 |