1 | <?php |
||
9 | class Country |
||
10 | { |
||
11 | /** |
||
12 | * @todo Populate rest of the countries |
||
13 | */ |
||
14 | private static $countries = array( |
||
15 | 'GB' => 'Great Britain', |
||
16 | ); |
||
17 | |||
18 | /** |
||
19 | * Get the country name for a MusicBrainz country code |
||
20 | * |
||
21 | * @static |
||
22 | * |
||
23 | * @param $countryCode |
||
24 | * |
||
25 | * @throws \OutOfBoundsException |
||
26 | * @return bool |
||
27 | */ |
||
28 | public static function getName($countryCode) |
||
41 | } |
||
42 |