I'm following the documentation here:
These are the commands
php app/console doctrine:mapping:convert xml ./src/Acme/BlogBundle/Resources/config/doctrine/metadata/orm --from-database --force
php app/console doctrine:mapping:import AcmeBlogBundle annotation
php app/console doctrine:generate:entities AcmeBlogBundle
I see the new Entities here in"
Acme/BlogBundle/AcmeBlogBundle/Entity
But I wanted to know how I could add the Entities into their own namespace like this
Acme/BlogBundle/AcmeBlogBundle/Entity/Foo
Acme/BlogBundle/AcmeBlogBundle/Entity/Bar
This is so I could keep the Entities for Foo and Bar Databases separated.
UPDATE:
Or should it be structured like this:
Acme/BlogBundle/AcmeBlogBundle/Foo/Entity
Acme/BlogBundle/AcmeBlogBundle/Bar/Entity
Thoughts?