On 04.04.2011, at 22:16, Catalin Costache wrote:
> Hi,
>
> You may be right but the current approach is even more misleading:
> $this->get('request')->request->get('param') will get you thinking that you
> will obtain a value from the hole request
> data or maybe a get param (I don't think however that this will be the case).
> The ideal refactoring will be to have proper getters and
> setters for the parameter bags: $this->get('request')->getPost()->get('param')
the current approach is definitely a bit n00b unfriendly, but after a while a
did figure it out ..
what irks me more though is this property access, which i find irritating.
maybe there should be helpers method "post()", "get()", .. etc on the request
object that proxy to the current stuff?
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