Is this possible to change bundle structure in Symfony 2, for example:
- MyBundle
- EntityName
- Controller.php
- Entity.php
- EntityRepository.php
- view
- index.html.twig
- etc
- SecondEntity
- etc
- EntityName
Is this possible and how can I start doing such thing?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Short answer: No
If you grep through the frame work code you find certain directory names are hard coded into the system. I know you are trying to organize things by entity. I used to do that myself for a number of projects.
But if you are going to use S2 then you need to embrace it’s basic structure. It works well.