PHP Class Elcodi\Component\Geo\Command\LocationPopulateCommand

Inheritance: extends Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand
Mostrar archivo Open project: elcodi/elcodi

Public Methods

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

Protected Methods

Method 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 method

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 method

configure.
protected configure ( )

execute() protected method

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
return integer | null | void