public function setItems($items)
    {
        $this->items = ($items instanceof Collection) ? $items : Collection::make($items);

        return $this;
    }
public function setItems($items)
    {
        $this->items = ($items instanceof Collection) ? $items : Collection::make($items);

        return $this;
    }
public function setItems ( $ items ) { $ this -> items = ( $ items instanceof Collection ) ? $ items : Collection :: make ( $ items ) ; return $ this ; }
Set the paginator's underlying collection.

@param  mixed  $items
@return $this
Set the paginator s underlying collection .