Elcodi\Bridge\BehatBridgeBundle\DoctrineContext::executeCommand PHP Method

executeCommand() private method

Execute a command
private executeCommand ( string $command, array $parameters = [] )
$command string Command
$parameters array Parameters
    private function executeCommand($command, array $parameters = [])
    {
        $definition = array_merge(['command' => $command, '--no-interaction' => true, '--env' => 'test'], $parameters);
        if (!$this->debug) {
            $definition['--quiet'] = true;
        }
        $this->application->run(new ArrayInput($definition));
        return $this;
    }