metadata = $metadata; } /** * @return ResultSetMetadata */ public function getMetadata() { return $this->metadata; } /** * @param array[] */ public function setRows($rows) { $this->rows = $rows; } /** * @return array[] */ public function getRows() { return $this->rows; } /** * @param ResultSetStats */ public function setStats(ResultSetStats $stats) { $this->stats = $stats; } /** * @return ResultSetStats */ public function getStats() { return $this->stats; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ResultSet::class, 'Google_Service_Spanner_ResultSet');