getEnglishName() public method

Returns array('Language','Country'); 'Country' is omitted if the culture is neutral.
public getEnglishName ( ) : string
return string language (country), it may locale code string if english name does not exist.
Beispiel #1
0
 function test_missing_english_names_returns_culture_code()
 {
     $culture = new CultureInfo('iw');
     $this->assertEquals($culture->getEnglishName(), 'iw');
 }