On 3/24/10 5:34 PM, Jordi Boggiano wrote:
On 24.03.2010 17:27, Bernhard Schussek wrote:
What others think?

I have thought of that before and think it's very well worth to be
included in the RFC. It's not as nicely testable as the other
approaches, but it's much cleaner than the routing magic.

I don't know if testability is really an issue. Since in most cases you
need to test forms and all that have POST/GET input and can't just rely
on the routing parameter, we will need to find a good solution to inject
testing parameters in a request object.

That's exactly the same: setPathParameter()


The request class has a setParameters method so you can probably abuse
that. Not for routing though, so I don't think it's a good idea to
remove routing params from the function signature, they are very handy
as they are.

Cheers,
Jordi


--
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

To unsubscribe from this group, send email to symfony-devs+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to