Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class Log { |
||
17 | |||
18 | /** |
||
19 | * @var Debulog\LoggerInterface |
||
20 | */ |
||
21 | protected static $_instance; |
||
22 | |||
23 | /** |
||
24 | * gets the instance |
||
25 | * |
||
26 | * @return Debulog\LoggerInterface |
||
27 | */ |
||
28 | public static function instance() |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * sets the logger instance |
||
35 | * |
||
36 | * @param Debulog\LoggerInterface $log |
||
37 | */ |
||
38 | public static function set(Debulog\LoggerInterface $log) |
||
43 |