interface LocaleAwareInterface

Methods

setLocale(string $locale)

Sets the current locale.

string
getLocale()

Returns the current locale.

Details

at line 23
setLocale(string $locale)

Sets the current locale.

Parameters

string $locale The locale

Exceptions

InvalidArgumentException If the locale contains invalid characters

at line 30
string getLocale()

Returns the current locale.

Return Value

string The locale