PHP Класс Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand

Наследование: extends Elcodi\Component\Core\Command\Abstracts\AbstractElcodiCommand
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$locationDirector Elcodi\Component\Core\Services\ObjectDirector Location director

Открытые методы

Метод Описание
__construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector ) Construct.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

__construct() публичный Метод

Construct.
public __construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector )
$locationDirector Elcodi\Component\Core\Services\ObjectDirector Location director

configure() защищенный Метод

configure.
protected configure ( )

deleteCountry() защищенный Метод

Ensure deletion of a country.
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

getCountriesFromInput() защищенный Метод

Get a country list from an input object or throw an Exception if none is properly defined.
protected getCountriesFromInput ( Symfony\Component\Console\Input\InputInterface $input ) : array
$input Symfony\Component\Console\Input\InputInterface Input
Результат array Country array from input

Описание свойств

$locationDirector защищенное свойство

Location director
protected ObjectDirector,Elcodi\Component\Core\Services $locationDirector
Результат Elcodi\Component\Core\Services\ObjectDirector