Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | protected function execute(InputInterface $input, OutputInterface $output) |
||
30 | { |
||
31 | $outputHelper = new SymfonyStyle($input, $output); |
||
32 | |||
33 | $data = json_decode(file_get_contents('stat.json'), true); |
||
34 | |||
35 | $statCalculator = new StatsCalculator(); |
||
36 | |||
37 | $this->getContainer()->get(StatCliDumper::class)->dump( |
||
38 | $statCalculator->calcul($data)['stats'] ?? [], |
||
39 | $outputHelper |
||
40 | ); |
||
43 |