-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
https://symfony.com/doc/current/best_practices/forms.html#registering-forms-as-services
The reasoning given in this section is outdated.
Since the change to form type handling (since 2.8 iirc), i think the only reason left to register your form types as services is when you want to inject some dependencies into it.
Metadata
Metadata
Assignees
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.