Documentation

LocaleAwareInterface

Table of Contents

Methods

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
Tags
throws
InvalidArgumentException

If the locale contains invalid characters


        
On this page

Search results