PHP Класс Sylius\Bundle\ShopBundle\Controller\CurrencySwitchController

Автор: Paweł Jędrzejewski ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
__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