matchRanges = $matchRanges; } /** * @return MatchRange[] */ public function getMatchRanges() { return $this->matchRanges; } /** * @param string */ public function setSnippet($snippet) { $this->snippet = $snippet; } /** * @return string */ public function getSnippet() { return $this->snippet; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Snippet::class, 'Google_Service_CloudSearch_Snippet');