public function setLinks(PaginableInterface $paginable, $baseOrCurrentUrl, $firstCursor, $lastCursor) {
		$previousLinkObject = new LinkObject($this->generatePreviousLink($baseOrCurrentUrl, $firstCursor));
		$nextLinkObject     = new LinkObject($this->generateNextLink($baseOrCurrentUrl, $lastCursor));
		
		$this->setPaginationLinkObjects($paginable, $previousLinkObject, $nextLinkObject);
	}
public function setLinks(PaginableInterface $paginable, $baseOrCurrentUrl, $firstCursor, $lastCursor) {
		$previousLinkObject = new LinkObject($this->generatePreviousLink($baseOrCurrentUrl, $firstCursor));
		$nextLinkObject     = new LinkObject($this->generateNextLink($baseOrCurrentUrl, $lastCursor));
		
		$this->setPaginationLinkObjects($paginable, $previousLinkObject, $nextLinkObject);
	}
public function setLinks ( PaginableInterface $ paginable , $ baseOrCurrentUrl , $ firstCursor , $ lastCursor ) { $ previousLinkObject = new LinkObject ( $ this -> generatePreviousLink ( $ baseOrCurrentUrl , $ firstCursor ) ) ; $ nextLinkObject = new LinkObject ( $ this -> generateNextLink ( $ baseOrCurrentUrl , $ lastCursor ) ) ; $ this -> setPaginationLinkObjects ( $ paginable , $ previousLinkObject , $ nextLinkObject ) ; }
set links to paginate the data using cursors of the paginated data

@param PaginableInterface $paginable        a CollectionDocument or RelationshipObject
@param string             $baseOrCurrentUrl
@param string             $firstCursor
@param string             $lastCursor
set links to paginate the data using cursors of the paginated data