cursor = $cursor; } /** * @return Cursor */ public function getCursor() { return $this->cursor; } /** * @param string */ public function setPartition($partition) { $this->partition = $partition; } /** * @return string */ public function getPartition() { return $this->partition; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PartitionCursor::class, 'Google_Service_PubsubLite_PartitionCursor');