| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | final class DI |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var Container |
||
| 22 | */ |
||
| 23 | private static $container = null; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return Container |
||
| 27 | */ |
||
| 28 | private static function default() : Container |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $name |
||
| 35 | * @param array $args |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | public static function __callStatic(string $name, array $args) |
||
| 43 |