It's possible to generate database from classes that have writeen by this command
doctrine:mongodb:schema:create
Is there any way to do this inversely? I mean generate classes from database?
It's possible to generate database from classes that have writeen by this command
doctrine:mongodb:schema:create
Is there any way to do this inversely? I mean generate classes from database?
You could generate the mapping classes from your mapping metadata (YML or XML):
// from php app/console
doctrine:mongodb:generate:documents
// Generate document classes and method stubs from your mapping information.
Cheers!