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')) {
throw new \InvalidArgumentException('You must specify or configure at least one report, e.g.: --report=default');
}
$this->timeUnitHandler->timeUnitFromInput($input);
$collection = $this->collectionHandler->suiteCollectionFromInput($input);
$this->dumpHandler->dumpFromInput($input, $output, $collection);
$this->reportHandler->reportsFromInput($input, $output, $collection);
}