LocaleAwareInterface
in
Table of Contents
- getLocale() : string
- Returns the current locale.
- setLocale() : mixed
- Sets the current locale.
Methods
getLocale()
Returns the current locale.
public
getLocale() : string
Return values
string —setLocale()
Sets the current locale.
public
setLocale(string $locale) : mixed
Parameters
- $locale : string
-
The locale