Answer the question
In order to leave comments, you need to log in
Why is the views folder in app/resourses/views and not in a bundle folder like AppBundle/views?
Why, for what reasons, principle, is the views folder located in app/resourses/views, and not in a folder with a bundle, such as AppBundle/views? Indeed, in fact, views also belong to bundles, like the same Entity or controllers.
What is the logic?
PS: Somewhere I read it, but I don’t remember where, that in 4.0 there will be no separation into src and app folders.
Answer the question
In order to leave comments, you need to log in
For those reasons that the bundle should contain reusable code. AppBundle is not inherently one. Therefore, in 4.0 the AppBundle will be abolished, there will be only the src/ directory, which will contain the application code. The app/ folder will be replaced by config/.
BTW: You can store templates in AppBundle/Resources/views if you like. But why?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question