On 4/27/11 5:10 PM, Lukas Kahwe Smith wrote:
Hi,

For FOSRestBundle I want to write a custom route matcher so that I can do more 
complex Accept header negotiations on a per route basis.
Now I looked at how things are setup in the DIC and it seems there is a "router" service 
which is an alias to "router.real".
However "router.real" seems to be used in most places rather than "router", which seems 
counter intuitive to me, as I would expect I would need to override the "router" service.

Accept header negociations probably does not belongs to the Router Matcher. Can you explain what kind of stuff you want to do? Can't you create a listener before the request listener to do your stuff instead?

Fabien

regards,
Lukas Kahwe Smith
[email protected]




--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to