Method | Description | |
---|---|---|
__construct ( Symfony\Component\Translation\TranslatorInterface $translator, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer ) | ||
getLocale ( ) | ||
setLocale ( $locale ) | ||
trans ( $id, array $parameters = [], $domain = null, $locale = null ) | ||
transChoice ( $id, $number, array $parameters = [], $domain = null, $locale = null ) |
Method | Description | |
---|---|---|
initialize ( ) |
public __construct ( Symfony\Component\Translation\TranslatorInterface $translator, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer ) | ||
$translator | Symfony\Component\Translation\TranslatorInterface | |
$requestAnalyzer | Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface |
public transChoice ( $id, $number, array $parameters = [], $domain = null, $locale = null ) | ||
$parameters | array |