Elcodi\Common\CommonBundle\Command\ElcodiInstallCommand::executeCommand PHP Method

executeCommand() private method

Execute a command
private executeCommand ( string $command, array $options = [] )
$command string Command
$options array Command options
    private function executeCommand($command, array $options = [])
    {
        $options = array_merge($options, ['command' => $command, '--no-interaction' => true]);
        $this->getApplication()->run(new ArrayInput($options));
        return $this;
    }