Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class FacadesBundle extends Bundle |
||
8 | { |
||
9 | /** |
||
10 | * @var Container |
||
11 | */ |
||
12 | private static $serviceContainer = null; |
||
13 | |||
14 | /** |
||
15 | * @param string $serviceId |
||
16 | * |
||
17 | * @return mixed|null |
||
18 | */ |
||
19 | public static function getFacadeService(string $serviceId) |
||
20 | { |
||
21 | return self::$serviceContainer->getService($serviceId); |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | public function boot() |
||
32 | } |
||
33 | } |
||
34 |