| 1 | <?php |
||
| 2 | |||
| 3 | namespace Palmtree\CanonicalUrlBundle; |
||
| 4 | |||
| 5 | use Palmtree\CanonicalUrlBundle\DependencyInjection\Compiler\CompilerPass; |
||
| 6 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
| 7 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
| 8 | |||
| 9 | class PalmtreeCanonicalUrlBundle extends Bundle |
||
| 10 | { |
||
| 11 | 1 | public function build(ContainerBuilder $container) |
|
| 12 | { |
||
| 13 | 1 | parent::build($container); |
|
| 14 | |||
| 15 | 1 | $container->addCompilerPass(new CompilerPass()); |
|
| 16 | 1 | } |
|
| 17 | } |
||
| 18 |