Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | trait Logger |
||
9 | { |
||
10 | 36 | protected function setLogger(): void |
|
11 | { |
||
12 | 36 | Service::io($this->output); |
|
13 | 36 | } |
|
14 | |||
15 | 43 | protected function log(...$message): void |
|
16 | { |
||
17 | 43 | $value = $this->logProcess($message); |
|
18 | |||
19 | 43 | Log::write($value); |
|
20 | 43 | } |
|
21 | |||
22 | 43 | protected function logProcess(array $values): string |
|
36 | 43 | } |
|
37 | } |
||
38 |