I create project from Symfony 2, but I have a problem: In project have multi-bundles(ex: AdminBundle and FontEndBundle)
- Case 1: Doctrine orm and Entities generate on FrontEndBundle, then from AdminBundle, I will call Entity via
FrontEndBundle:Objectit work OK. Case 2: I want to config structure folow
src/Project/
- Model/Entity
- OrmYml/doctrine/orm
- Bundles(contains FontEndBundle & AdminBundle)
- Extensions
In case 2, How do I config Entity mapping to generate Entities to src/Model/Entity directory ? Because when I using Command: doctrine:generate:entities Project/Model/Entity,
error : Namespace "Project\Model\Entity" does not contain any mapped entities.