public function hydrateTimezonesTimes($country)
    {
        $country = $this->hydrateTimezones($country);

        $country['timezones'] = $country->timezones->map(function ($timezone) {
            return $timezone->overwrite(['times' => $this->repository->findTimezoneTime($timezone['zone_id'])]);
        });

        return $country;
    }
public function hydrateTimezonesTimes($country)
    {
        $country = $this->hydrateTimezones($country);

        $country['timezones'] = $country->timezones->map(function ($timezone) {
            return $timezone->overwrite(['times' => $this->repository->findTimezoneTime($timezone['zone_id'])]);
        });

        return $country;
    }
public function hydrateTimezonesTimes ( $ country ) { $ country = $ this -> hydrateTimezones ( $ country ) ; $ country [ 'timezones' ] = $ country -> timezones -> map ( function ( $ timezone ) { return $ timezone -> overwrite ( [ 'times' => $ this -> repository -> findTimezoneTime ( $ timezone [ 'zone_id' ] ) ] ) ; } ) ; return $ country ; }
Hydrate all times for a country timezones.

@param $country
@return mixed
Hydrate all times for a country timezones .