class Translator extends Translator

Translator that gets the current locale from the Silex application.

Properties

protected $app

Methods

__construct(Application $app, MessageSelector $selector, $cacheDir = null, $debug = false)

No description

getLocale()

No description

setLocale($locale)

No description

Details

at line 26
__construct(Application $app, MessageSelector $selector, $cacheDir = null, $debug = false)

Parameters

Application $app
MessageSelector $selector
$cacheDir
$debug

at line 33
getLocale()

at line 38
setLocale($locale)

Parameters

$locale