This class is the base implementation for LanguageInformationInterface.

 Methods

Create a new instance.

__construct(string $language, null|string $country) 

Parameters

$language

string

The ISO 639 language code.

$country

nullstring

The ISO 3166 country code.

{@inheritDoc}

getCountryCode() 

{@inheritDoc}

getLanguageCode() 

{@inheritDoc}

getLocale() 

 Properties

 

The ISO 3166 country code.

$country : string
 

The ISO 639 language code.

$language : string