I understood. Thanks ;)

Do you have example this dependencies?

On 11 Лют, 13:18, stof <[email protected]> wrote:
> On Fri, 11 Feb 2011 03:08:10 -0800 (PST), stfalcon
>
> <[email protected]> wrote:
> > What is "$this->get('form.context')" and where it set?
>
> This gets the service named "form.context" in the container (it is a
> shortcut for "$this->container->get('form.context')" in the controllers)
> which is set in
> Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension as
> many other services.
>
> This service contains the dependencies of the form (validator, ...) to
> avoid you passing each dependency by hand (which is also possible by
> retrieving them from the container).
>
> --
> 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 users" 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-users?hl=en

Reply via email to