public function getJobRetryDelay($job)
    {
        if (! method_exists($job, 'retryAfter') && ! isset($job->retryAfter)) {
            return;
        }

        $delay = $job->retryAfter ?? $job->retryAfter();

        return $delay instanceof DateTimeInterface
                        ? $this->secondsUntil($delay) : $delay;
    }
public function getJobRetryDelay($job)
    {
        if (! method_exists($job, 'retryAfter') && ! isset($job->retryAfter)) {
            return;
        }

        $delay = $job->retryAfter ?? $job->retryAfter();

        return $delay instanceof DateTimeInterface
                        ? $this->secondsUntil($delay) : $delay;
    }
public function getJobRetryDelay ( $ job ) { if ( ! method_exists ( $ job , 'retryAfter' ) && ! isset ( $ job -> retryAfter ) ) { return ; } $ delay = $ job -> retryAfter ?? $ job -> retryAfter ( ) ; return $ delay instanceof DateTimeInterface ? $ this -> secondsUntil ( $ delay ) : $ delay ; }
Get the retry delay for an object-based queue handler.

@param  mixed  $job
@return mixed
Get the retry delay for an object - based queue handler .