PhpBench\Console\Command\ShowCommand::execute PHP Method

execute() public method

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function execute(InputInterface $input, OutputInterface $output)
    {
        if (!$input->getOption('report')) {
            $input->setOption('report', ['aggregate']);
        }
        $storage = $this->storage->getService();
        $collection = $storage->fetch($this->uuidResolver->resolve($input->getArgument('run_id')));
        $this->timeUnitHandler->timeUnitFromInput($input);
        $this->dumpHandler->dumpFromInput($input, $output, $collection);
        $this->reportHandler->reportsFromInput($input, $output, $collection);
    }