Skip to content

Instantly share code, notes, and snippets.

@weaverryan weaverryan/services.yml Secret
Created Sep 22, 2014

Embed
What would you like to do?
EventListener Configuration
services:
# ...
current_site_listener:
class: KnpU\QADayBundle\EventListener\CurrentSiteListener
arguments:
- "@site_manager"
- "@doctrine.orm.entity_manager"
tags:
-
name: kernel.event_listener
method: onKernelRequest
event: kernel.request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.