PHP Class WellCommerce\Bundle\CurrencyBundle\EventListener\CurrencySubscriber

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\EventListener\AbstractEventSubscriber
Show file Open project: wellcommerce/wellcommerce

Public Methods

Method Description
getSubscribedEvents ( )
onKernelController ( FilterControllerEvent $event )

Protected Methods

Method Description
getLocaleCurrency ( Request $request ) : string Returns the currency code for active locale

Method Details

getLocaleCurrency() protected method

Returns the currency code for active locale
protected getLocaleCurrency ( Request $request ) : string
$request Symfony\Component\HttpFoundation\Request
return string

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onKernelController() public method

public onKernelController ( FilterControllerEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterControllerEvent