Beispiel #1
0
 /**
  * Get country code
  *
  * @param string $country
  * @return string
  */
 protected static function countryCode($country)
 {
     $country = (string) $country;
     if (strlen($country) != 2) {
         $country = Countries::getCode($country);
     }
     return $country;
 }