I often need listeners only for master requests and every time I need to 
check it "if (HttpKernelInterface::MASTER_REQUEST == ..."
Do you have any ideas how to provide this capability in configuration and 
than we can check it only once during event dispatching. 
For example:
    tags:
            - { name: kernel.event_listener, event: kernel.controller.*
master*,

or
    tags:
            - { name: kernel.event_listener, event: kernel.controller, *stage: 
master*, ... 

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to