src/PhoneNumberToTimeZonesMapper.php
protected function getTimeZonesForGeocodableNumber(PhoneNumber $number)
    {
        $timezones = $this->prefixTimeZonesMap->lookupTimeZonesForNumber($number);
        return (count($timezones) == 0) ? $this->unknownTimeZoneList : $timezones;
    }
protected function getTimeZonesForGeocodableNumber(PhoneNumber $number)
    {
        $timezones = $this->prefixTimeZonesMap->lookupTimeZonesForNumber($number);
        return (count($timezones) == 0) ? $this->unknownTimeZoneList : $timezones;
    }
protected function getTimeZonesForGeocodableNumber ( PhoneNumber $ number ) { $ timezones = $ this -> prefixTimeZonesMap -> lookupTimeZonesForNumber ( $ number ) ; return ( count ( $ timezones ) == 0 ) ? $ this -> unknownTimeZoneList : $ timezones ; }
Returns a list of time zones to which a geocodable phone number belongs.

@param PhoneNumber $number The phone number for which we want to get the time zones to which it belongs
@return array the list of correspondiing time zones or a single element list with the default
unknown timezone if no other time zone was found or if the number was invalid
Returns a list of time zones to which a geocodable phone number belongs .