protected function propogateListenerOptions($listener, $job)
    {
        return tap($job, function ($job) use ($listener) {
            $job->tries   = isset($listener->tries) ? $listener->tries : null;
            $job->timeout = isset($listener->timeout) ? $listener->timeout : null;
        });
    }
protected function propogateListenerOptions($listener, $job)
    {
        return tap($job, function ($job) use ($listener) {
            $job->tries   = isset($listener->tries) ? $listener->tries : null;
            $job->timeout = isset($listener->timeout) ? $listener->timeout : null;
        });
    }
protected function propogateListenerOptions ( $ listener , $ job ) { return tap ( $ job , function ( $ job ) use ( $ listener ) { $ job -> tries = isset ( $ listener -> tries ) ? $ listener -> tries : null ; $ job -> timeout = isset ( $ listener -> timeout ) ? $ listener -> timeout : null ; } ) ; }
Propogate listener options to the job.

@param mixed $listener
@param mixed $job

@return mixed
Propogate listener options to the job .