mongodb-odm
mongodb-odm copied to clipboard
Add `dm` input option to commands that requires it
Feature Request
Q | A |
---|---|
New Feature | yes |
RFC | no |
BC Break | no |
Summary
Right now it gets the documentManager
from a helper:
https://github.com/doctrine/mongodb-odm/blob/3171964251eb42bac7ff0a57af02e720366081d9/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/AbstractCommand.php#L61-L65
we can add it as an input option and have something similar to AbstractEntityManagerCommand
, that way we could use these commands directly from the bundle instead of creating proxy commands.