Total Complexity | 8 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 76.19% |
Changes | 0 |
1 | <?php |
||
15 | class Logger |
||
16 | { |
||
17 | /** |
||
18 | * @var HandlerInterface |
||
19 | */ |
||
20 | private $handler; |
||
21 | |||
22 | 14 | public function __construct(HandlerInterface $handler) |
|
23 | { |
||
24 | 14 | $this->handler = $handler; |
|
25 | 14 | } |
|
26 | |||
27 | 9 | public function log(string $message) |
|
30 | 9 | } |
|
31 | |||
32 | public function callback(Host $host) |
||
36 | }; |
||
37 | } |
||
38 | |||
39 | 9 | public function printBuffer(Host $host, string $type, string $buffer) |
|
43 | } |
||
44 | 9 | } |
|
45 | |||
46 | 9 | public function writeln(Host $host, string $type, string $line) |
|
64 |