Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | final class Container |
||
9 | { |
||
10 | /** |
||
11 | * @var ContainerInterface |
||
12 | */ |
||
13 | private static $container = null; |
||
14 | |||
15 | /** |
||
16 | * @param ContainerInterface $container |
||
17 | */ |
||
18 | public static function setContainer(ContainerInterface $container) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Get a service using the container or the locator. |
||
25 | * |
||
26 | * @param string $serviceId |
||
27 | * |
||
28 | * @return mixed|null |
||
29 | */ |
||
30 | public static function getFacadeService(string $serviceId) |
||
47 |