Le 15/09/2011 16:47, FrancisP a écrit :
Hi all,
As I am using the FOSUserBundle, I was looking how to override a
FormType and a FormHandler, in the documentation, the author explain
how to create a service to make it work. In the service configuration
file, we need to pass the %fos_user.model.user.class% variable as an
argument but where is this service configured? I looked into the
FOSUserBundle Configuration Reference
<https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/configuration_reference.md> but
it is not there. Does it come from the model_manager_name?
Thanks in advance.
fos_user.model.user.class is the name of the parameter in the container.
It is registered by the DI extension according to the user_class passed
in the configuration.
--
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 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