PHP Class Elcodi\Store\CurrencyBundle\Controller\CurrencyController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller, use trait Elcodi\Store\CoreBundle\Controller\Traits\TemplateRenderTrait
Show file Open project: elcodi/bamboo

Public Methods

Method Description
navAction ( ) : Response Currency navigator
switchAction ( Request $request, string $iso ) : RedirectResponse Switch currency to new one

Method Details

navAction() public method

Currency navigator
public navAction ( ) : Response
return Symfony\Component\HttpFoundation\Response Response

switchAction() public method

Switch currency to new one
public switchAction ( Request $request, string $iso ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request Request
$iso string Currency iso
return Symfony\Component\HttpFoundation\RedirectResponse Last page