src/Pagination/Paginator.php
public function preparePaginationResponse()
    {
        return new Response($this->total, $this->perPage, $this->page, $this->lastPage);
    }
public function preparePaginationResponse()
    {
        return new Response($this->total, $this->perPage, $this->page, $this->lastPage);
    }
public function preparePaginationResponse ( ) { return new Response ( $ this -> total , $ this -> perPage , $ this -> page , $ this -> lastPage ) ; }
Prepare the pagination response.

@return Response
Prepare the pagination response .