Ojs\CoreBundle\Tests\BaseTestSetup::runConsole PHP Méthode

runConsole() protected méthode

protected runConsole ( $command, array $options = [] ) : integer
$command
$options array
Résultat integer
    protected function runConsole($command, array $options = array())
    {
        $options["--env"] = "test";
        $options["--quiet"] = null;
        $options["--no-interaction"] = null;
        $options = array_merge($options, array('command' => $command));
        return $this->app->run(new ArrayInput($options));
    }