roadInfo = $roadInfo; } /** * @return RoadInfo */ public function getRoadInfo() { return $this->roadInfo; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SegmentInfo::class, 'Google_Service_SemanticTile_SegmentInfo');