PHP Class WellCommerce\Bundle\CurrencyBundle\EventListener\CurrencySubscriber

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

Méthodes publiques

Méthode Description
getSubscribedEvents ( )
onKernelController ( FilterControllerEvent $event )

Méthodes protégées

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

Method Details

getLocaleCurrency() protected méthode

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

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

onKernelController() public méthode

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