Class

eZ\Bundle\EzPublishCoreBundle\EventListener\LocaleListener

class LocaleListener extends LocaleListener

Enhanced LocaleListener, injecting the converted locale extracted from eZ Publish configuration.

Methods

setConfigResolver(ConfigResolverInterface $configResolver)

setLocaleConverter(LocaleConverterInterface $localeConverter)

onKernelRequest(GetResponseEvent $event)

Details

at line 34
public setConfigResolver(ConfigResolverInterface $configResolver)

Parameters

ConfigResolverInterface $configResolver

at line 42
public setLocaleConverter(LocaleConverterInterface $localeConverter)

Parameters

LocaleConverterInterface $localeConverter

at line 47
public onKernelRequest(GetResponseEvent $event)

Parameters

GetResponseEvent $event