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

저자: Paweł Jędrzejewski ([email protected])
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templatingEngine, Sylius\Component\Currency\Context\CurrencyContextInterface $currencyContext, Sylius\Component\Currency\Provider\CurrencyProviderInterface $currencyProvider, Sylius\Component\Core\Currency\Handler\CurrencyChangeHandlerInterface $currencyChangeHandler )
renderAction ( ) : Response
switchAction ( Request $request, string $code ) : Response

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templatingEngine, Sylius\Component\Currency\Context\CurrencyContextInterface $currencyContext, Sylius\Component\Currency\Provider\CurrencyProviderInterface $currencyProvider, Sylius\Component\Core\Currency\Handler\CurrencyChangeHandlerInterface $currencyChangeHandler )
$templatingEngine Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$currencyContext Sylius\Component\Currency\Context\CurrencyContextInterface
$currencyProvider Sylius\Component\Currency\Provider\CurrencyProviderInterface
$currencyChangeHandler Sylius\Component\Core\Currency\Handler\CurrencyChangeHandlerInterface

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