protected function getJobs($jobIds, $startingAt = 0)
    {
        return $this->jobs->getJobs($jobIds, $startingAt)->map(function ($job) {
            $job->payload = json_decode($job->payload);

            return $job;
        })->values();
    }
protected function getJobs($jobIds, $startingAt = 0)
    {
        return $this->jobs->getJobs($jobIds, $startingAt)->map(function ($job) {
            $job->payload = json_decode($job->payload);

            return $job;
        })->values();
    }
protected function getJobs ( $ jobIds , $ startingAt = 0 ) { return $ this -> jobs -> getJobs ( $ jobIds , $ startingAt ) -> map ( function ( $ job ) { $ job -> payload = json_decode ( $ job -> payload ) ; return $ job ; } ) -> values ( ) ; }
Get the jobs for the given IDs.

@param  array  $jobIds
@param  int  $startingAt
@return \Illuminate\Support\Collection
Get the jobs for the given IDs .