public function getCountryFromCode($code)
    {
        $code = strtoupper($code);
        $output = "Other";
        if (in_array($code, $this->countriesMapping)) {
            foreach ($this->countriesMapping as $country => $short) {
                if ($code == $short) {
                    $output = $country;
                    break;
                }
            }
        }

        return $output;
    }
public function getCountryFromCode($code)
    {
        $code = strtoupper($code);
        $output = "Other";
        if (in_array($code, $this->countriesMapping)) {
            foreach ($this->countriesMapping as $country => $short) {
                if ($code == $short) {
                    $output = $country;
                    break;
                }
            }
        }

        return $output;
    }
public function getCountryFromCode ( $ code ) { $ code = strtoupper ( $ code ) ; $ output = "Other" ; if ( in_array ( $ code , $ this -> countriesMapping ) ) { foreach ( $ this -> countriesMapping as $ country => $ short ) { if ( $ code == $ short ) { $ output = $ country ; break ; } } } return $ output ; }
Get full country name from 3-letter country code

@param string $code
@return string
Get full country name from 3 - letter country code