메소드 | 설명 | |
---|---|---|
__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 ) |
메소드 | 설명 | |
---|---|---|
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 |