Le 09/05/2011 20:46, Problematic a écrit :
Thanks, Christophe! Guess I'll just handle my event list that way,
then.

As a related aside, is there any way to automatically register a
subscriber (I'm reading about it here:
http://symfony.com/doc/current/book/internals/event_dispatcher.html#using-event-subscribers),
like you can do with a listener? It seems like if I can automatically
notify the dispatcher of a list of events that can be defined in code,
that would be more flexible and fit what I'm trying to do more
completely.
There is no easy way to add a subscriber through the configuration of your services AFAIK. And this does not make much sense anyway as a subscriber cannot be lazy-loaded whereas a listener can.

--
Christophe | Stof

--
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to