[DDC-2308] Naming Strategy for Reverse Engeneering Created: 21/Feb/13 Updated: 21/Feb/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Andreas Prucha||Assignee:||Benjamin Eberlei|
Unfortunately DatabaseDriver::getClassNameForTable() is declared as private method, which makes it quite difficult to change the naming strategy for reverse engeneering.
IMO this sould be declared protected. An even better way would be to extend the interface of the Naming Strategy objects to support the reverse direction:
classToTableName -> tableToClassName
This way we would have a consistent name-mapping