Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | trait Reportable |
||
11 | { |
||
12 | /** @var ReportInterface|null */ |
||
13 | protected $reportObject; |
||
14 | |||
15 | /** |
||
16 | * @param bool $rebuild Rebuild report object |
||
17 | * @return ReportInterface |
||
18 | */ |
||
19 | 12 | public function getReport(bool $rebuild = true): ReportInterface |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * Makes all necessary actions before report |
||
35 | */ |
||
36 | 7 | protected function prepareForReport(): void |
|
40 |