Recca0120\Terminal\Application::call PHP Метод

call() публичный Метод

Run an Artisan console command by name.
public call ( string $command, array $parameters = [] ) : integer
$command string
$parameters array
Результат integer
    public function call($command, array $parameters = [])
    {
        $this->lastOutput = $this->getBufferedOutput();
        $this->setCatchExceptions(false);
        $command = $command . '' . implode(' ', $parameters);
        $input = new StringInput($command);
        $input->setInteractive(false);
        $result = $this->run($input, $this->lastOutput);
        $this->setCatchExceptions(true);
        return $result;
    }