PHP 클래스 Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand

상속: extends Elcodi\Component\Core\Command\Abstracts\AbstractElcodiCommand
파일 보기 프로젝트 열기: elcodi/elcodi 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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