Illuminate\Queue\Worker::runJob PHP Method

runJob() protected method

Process the given job.
protected runJob ( Illuminate\Contracts\Queue\Job $job, string $connectionName, WorkerOptions $options ) : void
$job Illuminate\Contracts\Queue\Job
$connectionName string
$options WorkerOptions
return void
    protected function runJob($job, $connectionName, WorkerOptions $options)
    {
        try {
            return $this->process($connectionName, $job, $options);
        } catch (Exception $e) {
            $this->exceptions->report($e);
        } catch (Throwable $e) {
            $this->exceptions->report(new FatalThrowableError($e));
        }
    }