I am not familiar with PUGXMultiUserBundle, but I can guess that ProfileUserFormType is used to manage User Profile data which won't necessarily have the same fields as the registration one.
FOS UserBundle FormType, Entity, RegistrationFormType
-
01-10-2022 - |
Question
I'm very new of Symfony and I have a doubt that I can't solve by myself. I made a web application with Symfony2, and I use the vendor FOS UserBundle and PUGXMultiUserBundle. In this application there are three files:
RegistrationUserFormType.php
ProfileUserFormType.php
Entity/User.php
Why I need three files? Shouldn't be enough to have the entity for the user and the RegistrationUserFormType associated? What is the ProfileUserFormType?
Sorry for the dummy question!
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow