|
0
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
namespace Sensio\Bundle\FrameworkExtraBundle; |
|
|
4 |
|
|
|
5 |
use Symfony\Component\HttpKernel\Bundle\Bundle; |
|
|
6 |
use Symfony\Component\DependencyInjection\ContainerBuilder; |
|
|
7 |
use Sensio\Bundle\FrameworkExtraBundle\DependencyInjection\Compiler\AddParamConverterPass; |
|
|
8 |
|
|
|
9 |
/* |
|
|
10 |
* This file is part of the Symfony framework. |
|
|
11 |
* |
|
|
12 |
* (c) Fabien Potencier <fabien@symfony.com> |
|
|
13 |
* |
|
|
14 |
* This source file is subject to the MIT license that is bundled |
|
|
15 |
* with this source code in the file LICENSE. |
|
|
16 |
*/ |
|
|
17 |
|
|
|
18 |
/** |
|
|
19 |
* SensioFrameworkExtraBundle. |
|
|
20 |
* |
|
|
21 |
* @author Fabien Potencier <fabien@symfony.com> |
|
|
22 |
*/ |
|
|
23 |
class SensioFrameworkExtraBundle extends Bundle |
|
|
24 |
{ |
|
|
25 |
public function build(ContainerBuilder $container) |
|
|
26 |
{ |
|
|
27 |
parent::build($container); |
|
|
28 |
|
|
|
29 |
$container->addCompilerPass(new AddParamConverterPass()); |
|
|
30 |
} |
|
|
31 |
} |