original_string: protected function paginationInformation($request)
      {
          $paginated = $this->resource->resource->toArray();
  
          return [
              'links' => $this->paginationLinks($paginated),
              'meta' => $this->meta($paginated),
          ];
      }
code: protected function paginationInformation($request)
      {
          $paginated = $this->resource->resource->toArray();
  
          return [
              'links' => $this->paginationLinks($paginated),
              'meta' => $this->meta($paginated),
          ];
      }
code_tokens: protected function paginationInformation ( $ request ) { $ paginated = $ this -> resource -> resource -> toArray ( ) ; return [ 'links' => $ this -> paginationLinks ( $ paginated ) , 'meta' => $ this -> meta ( $ paginated ) , ] ; }
docstring: Add the pagination information to the response.
  
  @param  \Illuminate\Http\Request  $request
  @return array
docstring_tokens: Add the pagination information to the response .