Documentation

LocaleAwareInterface

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

Tags
throws
InvalidArgumentException

If the locale contains invalid characters

Return values
mixed

Search results