PHP Class Elcodi\Component\Geo\Command\LocationPopulateCommand

Inheritance: extends Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand
Afficher le fichier Open project: elcodi/elcodi

Méthodes publiques

Méthode Description
__construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector, Elcodi\Component\Geo\Services\LocationPopulator $locationPopulator ) Construct method.

Méthodes protégées

Méthode Description
configure ( ) configure.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void This command loads all the locations for the received country.

Method Details

__construct() public méthode

Construct method.
public __construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector, Elcodi\Component\Geo\Services\LocationPopulator $locationPopulator )
$locationDirector Elcodi\Component\Core\Services\ObjectDirector Location director
$locationPopulator Elcodi\Component\Geo\Services\LocationPopulator Location Populator

configure() protected méthode

configure.
protected configure ( )

execute() protected méthode

This command loads all the locations for the received country.
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
Résultat integer | null | void