protected function paginate(Request $request)
    {
        return $this->jobs->getFailed($request->query('starting_at') ?: -1)->map(function ($job) {
            return $this->decode($job);
        });
    }
protected function paginate(Request $request)
    {
        return $this->jobs->getFailed($request->query('starting_at') ?: -1)->map(function ($job) {
            return $this->decode($job);
        });
    }
protected function paginate ( Request $ request ) { return $ this -> jobs -> getFailed ( $ request -> query ( 'starting_at' ) ? : - 1 ) -> map ( function ( $ job ) { return $ this -> decode ( $ job ) ; } ) ; }
Paginate the failed jobs for the request.

@param  \Illuminate\Http\Request  $request
@return \Illuminate\Support\Collection
Paginate the failed jobs for the request .