Skip to content

Instantly share code, notes, and snippets.

@imanilchaudhari
Created November 21, 2016 09:38
Show Gist options
  • Save imanilchaudhari/e8b53c9e7a6e8fd75931f7c05da368bc to your computer and use it in GitHub Desktop.
Save imanilchaudhari/e8b53c9e7a6e8fd75931f7c05da368bc to your computer and use it in GitHub Desktop.
<?php
namespace backend\components;
class Nationalities
{
/**
* List all the nationalities as an array format.
*
* @param null
* @return array
*
* Typical Usage:
*
* $nationalities = (new Nationalities())->getAll();
*
*/
public function getAll(){
return [
'Afghan','Albanian','Algerian','American','Andorran','Angolan','Antiguans','Argentinean','Armenian','Australian',
'Austrian','Azerbaijani','Bahamian','Bahraini','Bangladeshi','Barbadian','Barbudans','Batswana','Belarusian','Belgian',
'Belizean','Beninese','Bhutanese','Bolivian','Bosnian','Brazilian','British','Bruneian','Bulgarian','Burkinabe','Burmese',
'Burundian','Cambodian','Cameroonian','Canadian','Cape Verdean','Central African','Chadian','Chilean','Chinese',
'Colombian','Comoran','Congolese','Congolese','Costa Rican','Croatian','Cuban','Cypriot','Czech','Danish','Djibouti',
'Dominican','Dutch','Dutchman','Dutchwoman','East Timorese','Ecuadorean','Egyptian','Emirian',
'Equatorial Guinean','Eritrean','Estonian','Ethiopian','Fijian','Filipino','Finnish','French','Gabonese','Gambian',
'Georgian','German','Ghanaian','Greek','Grenadian','Guatemalan','Guinea-Bissauan','Guinean','Guyanese','Haitian',
'Herzegovinian','Honduran','Hungarian','I-Kiribati','Icelander','Indian','Indonesian','Iranian','Iraqi','Irish','Israeli',
'Italian','Ivorian','Jamaican','Japanese','Jordanian','Kazakhstani','Kenyan','Kittian and Nevisian','Kuwaiti','Kyrgyz',
'Laotian','Latvian','Lebanese','Liberian','Libyan','Liechtensteiner','Lithuanian','Luxembourger','Macedonian','Malagasy',
'Malawian','Malaysian','Maldivan','Malian','Maltese','Marshallese','Mauritanian','Mauritian','Mexican','Micronesian','Moldovan',
'Monacan','Mongolian','Moroccan','Mosotho','Motswana','Mozambican','Namibian','Nauruan','Nepalese','Netherlander',
'New Zealander','Ni-Vanuatu','Nicaraguan','Nigerian','Nigerien','North Korean','Northern Irish','Norwegian','Omani',
'Pakistani','Palauan','Panamanian','Papua New Guinean','Paraguayan','Peruvian','Polish','Portuguese','Qatari','Romanian',
'Russian','Rwandan','Saint Lucian','Salvadoran','Samoan','San Marinese','Sao Tomean','Saudi','Scottish','Senegalese',
'Serbian','Seychellois','Sierra Leonean','Singaporean','Slovakian','Slovenian','Solomon Islander','Somali',
'South African','South Korean','Spanish','Sri Lankan','Sudanese','Surinamer','Swazi','Swedish','Swiss','Syrian','Taiwanese',
'Tajik','Tanzanian','Thai','Togolese','Tongan','Trinidadian or Tobagonian','Tunisian','Turkish','Tuvaluan','Ugandan',
'Ukrainian','Uruguayan','Uzbekistani','Venezuelan','Vietnamese','Welsh','Yemenite','Zambian','Zimbabwean'
];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment