PhpBench\Console\Command\DeleteCommand::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)
    {
        $collection = $this->collectionHandler->suiteCollectionFromInput($input);
        $storage = $this->storage->getService();
        foreach ($collection as $suite) {
            $output->writeln('- ' . $suite->getUuid());
            $storage->delete($suite->getUuid());
        }
    }