function cacheCountry(Country $countryToCache, $type){ CacheCountry::setCacheBehavior(SessionAdmin::getCacheBehavior()); CacheCountry::addCountry($countryToCache, $type); }