Class LanguageCode
LanguageCode
LanguageCode
public
__construct( StringType $code )
Class Constructor
Class Constructor
Validates the parameter and saves it to the property in uppercase format.
$code
public
__toString( void )
: string
Returns the language code.
Returns the language code.
public
asString( void )
: string
As String
As String
Returns the language code as a string.
Gambio GmbH © 2018