Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class GenerateStatistics extends Action |
||
14 | { |
||
15 | /** @var TokenParser */ |
||
16 | private $parser; |
||
17 | |||
18 | /** @var StatisticsProcessor */ |
||
19 | private $processor; |
||
20 | |||
21 | 12 | public function __construct(TokenParser $parser, StatisticsProcessor $processor) |
|
22 | { |
||
23 | 12 | $this->parser = $parser; |
|
24 | 12 | $this->processor = $processor; |
|
25 | 12 | } |
|
26 | |||
27 | /** @throws \LogicException If the command is missing */ |
||
28 | 12 | public function generate(CodeFinder $finder, string $filePath): void |
|
36 | 9 | } |
|
37 | } |
||
38 |