legs = $legs; } /** * @return GoogleMapsPlacesV1RoutingSummaryLeg[] */ public function getLegs() { return $this->legs; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleMapsPlacesV1RoutingSummary::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1RoutingSummary');