1 | <?php |
||
2 | |||
3 | /** |
||
4 | * This file is part of the DpnXmlSitemapBundle package. |
||
5 | * |
||
6 | * (c) Björn Fromme <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the Resources/meta/LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace Dpn\XmlSitemapBundle; |
||
13 | |||
14 | use Dpn\XmlSitemapBundle\DependencyInjection\Compiler\GeneratorCompilerPass; |
||
15 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
16 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
17 | |||
18 | class DpnXmlSitemapBundle extends Bundle |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | 3 | public function build(ContainerBuilder $container) |
|
24 | { |
||
25 | 3 | parent::build($container); |
|
26 | |||
27 | 3 | $container->addCompilerPass(new GeneratorCompilerPass()); |
|
28 | 3 | } |
|
29 | } |
||
30 |