/** * 2016-05-20 * Конвертирует 3-символьный код страны (например, «RUS») в двухсимвольный («RU»). * @param string $iso3 * @return string */ function df_country_3_to_2($iso3) { /** @var string|null $result */ $result = dfa(CC::s()->mapFrom3To2(), $iso3); df_result_string_not_empty($result); return $result; }
/** @return Collection */ public static function cs() { return Collection::s(); }