-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Add a make:form:type-extension command #78
Comments
I guess it's OK to add this maker. About the naming, we need to carefully think about this (not only for this proposal, but for others). At first we thought we could use this syntax: However, for things like
I'd remove the |
that's not true. The component has both a FormExtension and a FormTypeExtension (but the FormExtension is not that used, as we rely on the DependencyInjectionExtension in any project using FrameworkBundle, and we configure this extension instead). |
Regarding the naming, I don't think the type extension should be named based on the type it extends. You can have many type extensions extending the same type. |
@stof Good point! I agree. So, it should be named |
See #85 |
any chance this can be revived? If I provide an implementation based on the initial implementation from @yceruto can this be merged to master? |
I would be 👍 for having this maker :) The original PR was just SO early in Maker dev, that we changed a bunch of stuff and broke that PR :/. |
Hi guys!
This maker command would generates a new (form) type extension class under
src/Form/Extension/
and the argument is the extended type class (the class name is derived from it).What do you think?
The text was updated successfully, but these errors were encountered: