EmptyLanguageCode
The purpose of this class is to return an empty string as representation of a empty language code value.
| category |
System |
|---|---|
| package |
Shared |
__construct(\StringType $code)
Validates the parameter and saves it to the property in uppercase format.
| Throws |
|
|---|
\StringType
__toString() : string
string
asString() : string
Returns the language code as a string.
string
languageCode : string
| var |
|---|
string