PHP 클래스 Sylius\Bundle\ShopBundle\Controller\LocaleSwitchController

저자: Arkadiusz Krakowiak ([email protected])
저자: Kamil Kokot ([email protected])
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templatingEngine, Sylius\Component\Locale\Context\LocaleContextInterface $localeContext, Sylius\Component\Locale\Provider\LocaleProviderInterface $localeProvider, Sylius\Component\Core\Locale\Handler\LocaleChangeHandlerInterface $localeChangeHandler )
renderAction ( ) : Response
switchAction ( Request $request, string $code ) : Response

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templatingEngine, Sylius\Component\Locale\Context\LocaleContextInterface $localeContext, Sylius\Component\Locale\Provider\LocaleProviderInterface $localeProvider, Sylius\Component\Core\Locale\Handler\LocaleChangeHandlerInterface $localeChangeHandler )
$templatingEngine Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$localeContext Sylius\Component\Locale\Context\LocaleContextInterface
$localeProvider Sylius\Component\Locale\Provider\LocaleProviderInterface
$localeChangeHandler Sylius\Component\Core\Locale\Handler\LocaleChangeHandlerInterface

renderAction() 공개 메소드

public renderAction ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response

switchAction() 공개 메소드

public switchAction ( Request $request, string $code ) : Response
$request Symfony\Component\HttpFoundation\Request
$code string
리턴 Symfony\Component\HttpFoundation\Response