public function setAliases(array $aliases)
    {
        $this->aliases = [];

        foreach ($aliases as $alias => $countryCode) {
            $this->aliases[strtoupper($alias)] = strtoupper($countryCode);
        }
    }
public function setAliases(array $aliases)
    {
        $this->aliases = [];

        foreach ($aliases as $alias => $countryCode) {
            $this->aliases[strtoupper($alias)] = strtoupper($countryCode);
        }
    }
public function setAliases ( array $ aliases ) { $ this -> aliases = [ ] ; foreach ( $ aliases as $ alias => $ countryCode ) { $ this -> aliases [ strtoupper ( $ alias ) ] = strtoupper ( $ countryCode ) ; } }
Set the country code aliases.

@param  array  $aliases
Set the country code aliases .