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