public function cursor(Cursor $cursor)
    {
        if ($this->resource instanceof CollectionResource) {
            $this->resource->setCursor($cursor);
        }

        return $this;
    }
public function cursor(Cursor $cursor)
    {
        if ($this->resource instanceof CollectionResource) {
            $this->resource->setCursor($cursor);
        }

        return $this;
    }
public function cursor ( Cursor $ cursor ) { if ( $ this -> resource instanceof CollectionResource ) { $ this -> resource -> setCursor ( $ cursor ) ; } return $ this ; }
Manually set the cursor on the resource.

@param  \League\Fractal\Pagination\Cursor $cursor
@return $this
Manually set the cursor on the resource .