1 | <?php |
||
10 | class CoverageReporter implements CoverageReporterInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var CodeCoverage |
||
14 | */ |
||
15 | private $coverage; |
||
16 | |||
17 | /** |
||
18 | * @param CodeCoverage $coverage |
||
19 | */ |
||
20 | public function __construct(CodeCoverage $coverage) |
||
24 | |||
25 | /** |
||
26 | * Generate clover coverage report |
||
27 | * |
||
28 | * @param string $target Report filename |
||
29 | */ |
||
30 | public function clover($target) |
||
35 | |||
36 | /** |
||
37 | * Generate html coverage report |
||
38 | * |
||
39 | * @param string $target Report filename |
||
40 | */ |
||
41 | public function html($target) |
||
46 | |||
47 | /** |
||
48 | * Generate php coverage report |
||
49 | * @param string $target Report filename |
||
50 | */ |
||
51 | public function php($target) |
||
56 | } |
||
57 |