image = $image; } /** * @return string */ public function getImage() { return $this->image; } /** * @param Product */ public function setProduct(Product $product) { $this->product = $product; } /** * @return Product */ public function getProduct() { return $this->product; } /** * @param float */ public function setScore($score) { $this->score = $score; } /** * @return float */ public function getScore() { return $this->score; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Result::class, 'Google_Service_Vision_Result');