1 | <?php |
||
12 | class CoverageReporter implements CoverageReporterInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var CodeCoverage |
||
16 | */ |
||
17 | private $coverage; |
||
18 | |||
19 | /** |
||
20 | * @param CodeCoverage $coverage |
||
21 | */ |
||
22 | 6 | public function __construct(CodeCoverage $coverage) |
|
26 | |||
27 | /** |
||
28 | * Generate clover coverage report. |
||
29 | * |
||
30 | * @param string $target Report filename |
||
31 | */ |
||
32 | 1 | public function clover(string $target) |
|
37 | |||
38 | /** |
||
39 | * Generate html coverage report. |
||
40 | * |
||
41 | * @param string $target Report filename |
||
42 | */ |
||
43 | 1 | public function html(string $target) |
|
48 | |||
49 | /** |
||
50 | * Generate php coverage report. |
||
51 | * |
||
52 | * @param string $target Report filename |
||
53 | */ |
||
54 | 3 | public function php(string $target) |
|
59 | } |
||
60 |