Total Complexity | 6 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class ProfilerReport extends Report implements StringsInterface |
||
16 | { |
||
17 | /** @var array */ |
||
18 | private $reports = []; |
||
19 | |||
20 | /** |
||
21 | * @return array |
||
22 | */ |
||
23 | 4 | public function getReports(): array |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return array |
||
30 | */ |
||
31 | 2 | public function getCountersReports(): array |
|
32 | { |
||
33 | 2 | return $this->reports[self::COUNTERS]; |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return array |
||
38 | */ |
||
39 | 2 | public function getTimersReports(): array |
|
42 | } |
||
43 | |||
44 | /** |
||
45 | * ProfilerReport constructor. |
||
46 | * @param Profiler $profiler |
||
47 | */ |
||
48 | 5 | public function __construct(Profiler $profiler) |
|
57 | 5 | } |
|
58 | } |
||
59 |