1 | <?php |
||
2 | |||
3 | namespace Lagdo\Symfony\Facades; |
||
4 | |||
5 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
6 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
7 | |||
8 | class FacadesBundle extends Bundle |
||
9 | { |
||
10 | /** |
||
11 | * @inheritdoc |
||
12 | */ |
||
13 | public function boot() |
||
14 | { |
||
15 | parent::boot(); |
||
16 | |||
17 | Container::setContainer($this->container); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @inheritDoc |
||
22 | */ |
||
23 | public function build(ContainerBuilder $container) |
||
24 | { |
||
25 | parent::build($container); |
||
26 | |||
27 | $container->addCompilerPass(new DependencyInjection\Compiler\CompilerPass()); |
||
28 | } |
||
29 | } |
||
30 |