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