| Total Complexity | 4 |
| Total Lines | 30 |
| 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 | */ |
||
| 21 | 11 | public function getReport(): ReportInterface |
|
| 31 | } |
||
| 32 | |||
| 33 | 5 | public function resetReportObject(): void |
|
| 34 | { |
||
| 35 | 5 | $this->reportObject = null; |
|
| 36 | 5 | } |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Makes all necessary actions before report |
||
| 40 | */ |
||
| 41 | 9 | protected function prepareForReport(): void |
|
| 43 | 9 | } |
|
| 44 | } |
||
| 45 |