Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | trait Reportable |
||
14 | { |
||
15 | /** @var ReportInterface|null */ |
||
16 | protected $reportObject; |
||
17 | |||
18 | /** |
||
19 | * @return ReportInterface |
||
20 | * @throws \JakubOnderka\PhpConsoleColor\InvalidStyleException |
||
21 | */ |
||
22 | 11 | public function getReport(): ReportInterface |
|
32 | } |
||
33 | |||
34 | 5 | public function resetReportObject(): void |
|
35 | { |
||
36 | 5 | $this->reportObject = null; |
|
37 | 5 | } |
|
38 | |||
39 | /** |
||
40 | * Makes all necessary actions before report |
||
41 | */ |
||
42 | 9 | protected function prepareForReport(): void |
|
44 | 9 | } |
|
45 | } |
||
46 |