original_string: protected function setItems($items)
      {
          $this->items = $items instanceof Collection ? $items : Collection::make($items);
  
          $this->hasMore = $this->items->count() > $this->perPage;
  
          $this->items = $this->items->slice(0, $this->perPage);
      }
code: protected function setItems($items)
      {
          $this->items = $items instanceof Collection ? $items : Collection::make($items);
  
          $this->hasMore = $this->items->count() > $this->perPage;
  
          $this->items = $this->items->slice(0, $this->perPage);
      }
code_tokens: protected function setItems ( $ items ) { $ this -> items = $ items instanceof Collection ? $ items : Collection :: make ( $ items ) ; $ this -> hasMore = $ this -> items -> count ( ) > $ this -> perPage ; $ this -> items = $ this -> items -> slice ( 0 , $ this -> perPage ) ; }
docstring: Set the items for the paginator.
  
  @param  mixed  $items
  @return void
docstring_tokens: Set the items for the paginator .