Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, Doctrine\Common\Persistence\ObjectManager $locationEntityManager ) | Construct |
Method | Description | |
---|---|---|
configure ( ) | Configures the current command. | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer | Executes the current command. |
Method | Description | |
---|---|---|
executeCommand ( string $command, array $options = [] ) | Execute a command | |
installElcodi ( Symfony\Component\Console\Output\OutputInterface $output, array $countries ) | Install Elcodi environment | |
loadCommonFixtures ( ) | Load common fixtures | |
loadLocation ( Symfony\Component\Console\Output\OutputInterface $output, string $country ) | Load country from Elcodi files Repository | |
loadLocations ( Symfony\Component\Console\Output\OutputInterface $output, array $countries ) | Load countries |
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, Doctrine\Common\Persistence\ObjectManager $locationEntityManager ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface | Kernel |
$locationEntityManager | Doctrine\Common\Persistence\ObjectManager | Location entity manager |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer | ||
$input | Symfony\Component\Console\Input\InputInterface | An InputInterface instance |
$output | Symfony\Component\Console\Output\OutputInterface | An OutputInterface instance |
return | null | integer | null or 0 if everything went fine, or an error code |