protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void | ||
$input | Symfony\Component\Console\Input\InputInterface | The input interface |
$output | Symfony\Component\Console\Output\OutputInterface | The output interface |
return | integer | null | void |
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->startCommand($output);
$countries = $this->getCountriesFromInput($input);
foreach ($countries as $countryCode) {
$countryCode = strtoupper($countryCode);
$this->deleteCountry($input, $output, $countryCode);
}
$this->finishCommand($output);
}