PHP Class Elcodi\Component\Geo\Command\LocationLoadCommand

Inheritance: extends Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand
Mostra file Open project: elcodi/elcodi

Public Methods

Method Description
__construct ( Elcodi\Component\Core\Services\ObjectDirector $locationDirector, Elcodi\Component\Geo\Services\LocationLoader $locationLoader ) 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\LocationLoader $locationLoader )
$locationDirector Elcodi\Component\Core\Services\ObjectDirector Location director
$locationLoader Elcodi\Component\Geo\Services\LocationLoader Location Loader

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