Le 17/08/2011 20:02, Eriksen Costa a écrit :
I liked the idea. I would like to see it in the core code but seems
more suitable for a bundle, since there is not a single listener in
Symfony2 that needs this wildcard matcher.
Another solution would be to add it in the component as a special
implementation extending the current one. This would make it available
for all people using the EventDispatcher, not only for people using
Symfony2 with a given bundle. This way, you use this special
implementation if you need it, and you use the current one otherwise for
performances.
And then, using it in Symfony would simply be a matter of changing the
class (in fact, it may require refactoring the TraceableEventDispatcher
to use composition instead of inheritance so that it works in debug mode
too)
--
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 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