public function getCountryCodeMapping()
    {
        $regionDataProvider = StaticContainer::get('Piwik\Intl\Data\Provider\RegionDataProvider');

        $countryCodeList = $regionDataProvider->getCountryList();

        array_walk($countryCodeList, function(&$item, $key) {
            $item = Piwik::translate('Intl_Country_'.strtoupper($key));
        });

        return $countryCodeList;
    }
public function getCountryCodeMapping()
    {
        $regionDataProvider = StaticContainer::get('Piwik\Intl\Data\Provider\RegionDataProvider');

        $countryCodeList = $regionDataProvider->getCountryList();

        array_walk($countryCodeList, function(&$item, $key) {
            $item = Piwik::translate('Intl_Country_'.strtoupper($key));
        });

        return $countryCodeList;
    }
public function getCountryCodeMapping ( ) { $ regionDataProvider = StaticContainer :: get ( 'Piwik\Intl\Data\Provider\RegionDataProvider' ) ; $ countryCodeList = $ regionDataProvider -> getCountryList ( ) ; array_walk ( $ countryCodeList , function ( & $ item , $ key ) { $ item = Piwik :: translate ( 'Intl_Country_' . strtoupper ( $ key ) ) ; } ) ; return $ countryCodeList ; }
Returns a simple mapping from country code to country name

@return \string[]
Returns a simple mapping from country code to country name