PHP 클래스 Sulu\Bundle\WebsiteBundle\Translator\RequestAnalyzerTranslator

상속: implements Symfony\Component\Translation\TranslatorInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Translation\TranslatorInterface $translator, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer )
$translator Symfony\Component\Translation\TranslatorInterface
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface

getLocale() 공개 메소드

public getLocale ( )

setLocale() 공개 메소드

public setLocale ( $locale )

trans() 공개 메소드

public trans ( $id, array $parameters = [], $domain = null, $locale = null )
$parameters array

transChoice() 공개 메소드

public transChoice ( $id, $number, array $parameters = [], $domain = null, $locale = null )
$parameters array