Total Complexity | 7 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | class Instances |
||
16 | { |
||
17 | /** |
||
18 | * @var Logger[] |
||
19 | */ |
||
20 | private static $loggers = []; |
||
21 | |||
22 | /** |
||
23 | * @var Configure |
||
24 | */ |
||
25 | private static $configured = null; |
||
26 | |||
27 | /** |
||
28 | * @param string $scene |
||
29 | * @return LoggerInterface |
||
30 | */ |
||
31 | public static function get(string $scene) : LoggerInterface |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param Configure $configure |
||
38 | */ |
||
39 | public static function reload(Configure $configure) : void |
||
49 | } |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @return Configure |
||
54 | */ |
||
55 | private static function configure() : Configure |
||
64 |