class
Illuminate
/
Http
/
Resources
/
Json
/
PaginatedResourceResponse
PaginatedResourceResponse
Extends
Methods
public
toResponse ( $request ) : JsonResponse
Create an HTTP response that represents the object.
Parameters
- $request Request
protected
paginationInformation ( $request ) : array
Add the pagination information to the response.
Parameters
- $request Request
protected
paginationLinks ( $paginated ) : array
Get the pagination links for the response.
Parameters
- $paginated array
protected
meta ( $paginated ) : array
Gather the meta data for the response.
Parameters
- $paginated array