app/Statistics/Service/CountryService.php
public function mapTwoLetterToName(string $twoLetterCode): string
    {
        $threeLetterCode = array_search($twoLetterCode, $this->iso3166(), true);
        $threeLetterCode = $threeLetterCode ?: '???';

        return $this->getAllCountries()[$threeLetterCode];
    }
public function mapTwoLetterToName(string $twoLetterCode): string
    {
        $threeLetterCode = array_search($twoLetterCode, $this->iso3166(), true);
        $threeLetterCode = $threeLetterCode ?: '???';

        return $this->getAllCountries()[$threeLetterCode];
    }
public function mapTwoLetterToName ( string $ twoLetterCode ) : string { $ threeLetterCode = array_search ( $ twoLetterCode , $ this -> iso3166 ( ) , true ) ; $ threeLetterCode = $ threeLetterCode ? : '???' ; return $ this -> getAllCountries ( ) [ $ threeLetterCode ] ; }
Returns the translated country name based on the given two letter country code.

@param string $twoLetterCode The two letter country code

@return string
Returns the translated country name based on the given two letter country code .