Sid February 2016
Where are the twig view files generated by Symfony's generate:crud command?
I have used Symfony's command line tool to generate CRUD functionality for an entity in my application.
According to the documentation the twig view files are based on templates within the Sensio Generator bundle.
Are a separate set of files are generated exclusively for that particular entity whenever the 'doctrine:generate:crud' command is run?
No twig files are generated, all entities that have CRUD functionality generated using the command line tool use the twig template files in the Sensio Generator bundle.
If the former is correct, can anyone tell me the directory for these twig files pls?
I hope my question makes sense. Appreciate the help.
chalasr February 2016
All views created from the
doctrine:generate:crud command will be generated in the following path :
The rule is simple, a folder named like the Entity is created in the
app/Resources/views directory, and all views of the CRUD are generated into.
Asked in February 2016
Viewed 2,867 times
Answered 1 times
Leave an answer
Quote of the day: live life