Свойство | Type | Description | |
---|---|---|---|
$locationDirector | Elcodi\Component\Core\Services\ObjectDirector | Location director |
Méthode | Description | |
---|---|---|
__construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector ) | Construct. |
Méthode | 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. |
Méthode | 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 |
Résultat | array | Country array from input |