I want to understand the functionality of the FOSUserBundle form handling but I have some questions.
I don't understand the service xml file for each controller. Can anyone explain me the three service-blocks in this file: https://github.com/FriendsOfSymfony/FOS ... ration.xml
The next is in the issue is in the controller. For example https://github.com/FriendsOfSymfony/FOS ... roller.php
- Code: Select all
$form = $this->container->get('fos_user.registration.form');
$formHandler = $this->container->get('fos_user.registration.form.handler');
$confirmationEnabled = $this->container->getParameter('fos_user.registration.confirmation.enabled');
The form is already included in the handler, so why request here for the form from the service container?
The service id "fos_user.registration.form.handler" is used, but in the service file (registration.xml) the id is "fos_user.registration.form.handler.default"?
