protected function decode($job)
    {
        $job->payload = json_decode($job->payload);

        $job->retried_by = collect(json_decode($job->retried_by))
                    ->sortByDesc('retried_at')->values();

        return $job;
    }
protected function decode($job)
    {
        $job->payload = json_decode($job->payload);

        $job->retried_by = collect(json_decode($job->retried_by))
                    ->sortByDesc('retried_at')->values();

        return $job;
    }
protected function decode ( $ job ) { $ job -> payload = json_decode ( $ job -> payload ) ; $ job -> retried_by = collect ( json_decode ( $ job -> retried_by ) ) -> sortByDesc ( 'retried_at' ) -> values ( ) ; return $ job ; }
Decode the given job.

@param  object  $job
@return object
Decode the given job .