server = $server; $this->responseDocument = $responseDocument; } /** * Returns the original response document from the server * * @return array Original response document from the server */ public function getResponseDocument() { return $this->responseDocument; } /** * Returns the Server object that this cursor is attached to * * @return Server Server from which the result originated */ public function getServer() { return $this->server; } }