PHP Class WellCommerce\Bundle\CurrencyBundle\Controller\Front\CurrencyController

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\Controller\Front\AbstractFrontController
Afficher le fichier Open project: wellcommerce/wellcommerce

Méthodes publiques

Méthode Description
switchAction ( Request $request, string $currency ) : RedirectResponse Sets new session currency

Method Details

switchAction() public méthode

Sets new session currency
public switchAction ( Request $request, string $currency ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$currency string
Résultat Symfony\Component\HttpFoundation\RedirectResponse