1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the Ivory Google Map bundle 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\GoogleMapBundle; |
||
13 | |||
14 | use Ivory\GoogleMapBundle\DependencyInjection\Compiler\CleanTemplatingPass; |
||
15 | use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterControlRendererPass; |
||
16 | use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterExtendableRendererPass; |
||
17 | use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterFormResourcePass; |
||
18 | use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterHelperListenerPass; |
||
19 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
20 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
21 | |||
22 | /** |
||
23 | * @author GeLo <[email protected]> |
||
24 | */ |
||
25 | class IvoryGoogleMapBundle extends Bundle |
||
26 | { |
||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | 684 | public function build(ContainerBuilder $container) |
|
31 | { |
||
32 | $container |
||
33 | 684 | ->addCompilerPass(new CleanTemplatingPass()) |
|
34 | 684 | ->addCompilerPass(new RegisterControlRendererPass()) |
|
35 | 684 | ->addCompilerPass(new RegisterExtendableRendererPass()) |
|
36 | 684 | ->addCompilerPass(new RegisterFormResourcePass()) |
|
37 | 684 | ->addCompilerPass(new RegisterHelperListenerPass()); |
|
38 | 684 | } |
|
39 | } |
||
40 |