Skip to content

Generated base model classes and controller_arguments #53504

Answered by MatTheCat
ulrichsg asked this question in Q&A
Discussion options

You must be logged in to vote

the generation is done by a Symfony command

This is a deal breaker if you don’t want to version the generated classes, but I’m pretty sure it could be done in a compiler pass. Set it a priority higher than 0 to run before the RegisterControllerArgumentLocatorsPass and the classes would be generated at build time.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ulrichsg
Comment options

Answer selected by ulrichsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants