Property | Type | Description | |
---|---|---|---|
$locationDirector | Elcodi\Component\Core\Services\ObjectDirector | Location director |
Method | Description | |
---|---|---|
__construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector ) | Construct. |
Method | Description | |
---|---|---|
configure ( ) | configure. | |
deleteCountry ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $countryCode ) | Ensure deletion of a country. | |
getCountriesFromInput ( Symfony\Component\Console\Input\InputInterface $input ) : array | Get a country list from an input object or throw an Exception if none is properly defined. |
Method | Description | |
---|---|---|
confirmRemoval ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, string $countryCode ) : boolean | Asks to confirm the location removal. | |
dropCountry ( Elcodi\Component\Geo\Entity\Interfaces\LocationInterface $location, Symfony\Component\Console\Output\OutputInterface $output ) | Drops the country and its relations. |
public __construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector ) | ||
$locationDirector | Elcodi\Component\Core\Services\ObjectDirector | Location director |
protected deleteCountry ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $countryCode ) | ||
$input | Symfony\Component\Console\Input\InputInterface | The input interface |
$output | Symfony\Component\Console\Output\OutputInterface | The output interface |
protected getCountriesFromInput ( Symfony\Component\Console\Input\InputInterface $input ) : array | ||
$input | Symfony\Component\Console\Input\InputInterface | Input |
return | array | Country array from input |