thanks, you did not give me a chance to contribute with the fix in the docs!
:)



On Fri, Sep 24, 2010 at 12:39 PM, Fabien Potencier <
[email protected]> wrote:

> The getRequest() method does not exist anymore. So, it should be replaced
> with $this['request'].
>
> Fabien
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.potencier.org
> Tél: +33 1 40 99 80 80
>
>
> On 9/24/10 6:25 PM, Pablo Godel wrote:
>
>> In the Symfony2 docs it says that the request can be retrieve with
>> $this->getRequest() from the controller. This is not working. There are
>> other references to $this['request'] which does work.
>>
>>
>> http://docs.symfony-reloaded.org/quick_tour/the_controller.html#the-request-object
>>
>> Either there is a bug or the docs need to be corrected. I can fix the
>> docs if that is what needs to be done.
>>
>> Pablo Godel
>>
>> --
>> 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]<symfony-devs%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-devs?hl=en
>>
>
> --
> 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]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

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