Total Complexity | 3 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | final class FileReporter implements Reporter |
||
9 | { |
||
10 | const FILE_NAME_SIZE = 128; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $basePath; |
||
16 | |||
17 | /** |
||
18 | * @param string $basePath |
||
19 | */ |
||
20 | public function __construct($basePath) |
||
21 | { |
||
22 | $this->basePath = $basePath; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param array $events |
||
27 | * |
||
28 | * @return void |
||
29 | * |
||
30 | * @throws \Exception |
||
31 | */ |
||
32 | public function report(array $events) |
||
38 | ); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | * |
||
44 | * @throws \Exception |
||
45 | */ |
||
46 | private function getFilename() |
||
53 | ); |
||
54 | } |
||
56 |