Skip to content

[Form] [BestPractice] Forms as services section outdated #6232

Closed
@backbone87

Description

@backbone87

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

No one assigned

    Labels

    actionableClear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions