Skip to content

[DX] Automatic form name #12339

@flip111

Description

@flip111

I never really cared for the form name, so perhaps by default symfony will figure out a proper name by itself and store this in cache for the class? You can then override it with getName() if you want to.

As for implementation i propose lcfirst(substr($classname, 0, -4));
example

classname: TestForm
form name: test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions