mirror of
https://github.com/doctrine/orm.git
synced 2026-04-25 07:28:04 +02:00
DDC-44: Remove the static driver class map in DriverManager. #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Oct 13, 2009).
Originally assigned to: @jwage on GitHub.
Jira issue originally created by user romanb:
Remove the static driver class map in DriverManager. Users should supply the class names directly instead. This is more flexible and less maintenance.
@doctrinebot commented on GitHub (Oct 19, 2009):
Comment created by @guilhermeblanco:
I think that's ok to live with mapping array.
We should follow the same way as we do currently for Tasks, Types, etc. Driver is not different. =)
@doctrinebot commented on GitHub (Oct 23, 2009):
Comment created by @jwage:
After some discussion we decided things are fine the way they are. It is already possible with the 'driverClass' parameter instead of 'driver'. The driver option checks in the map for the class name and driverClass allows you to just specify your own class name to use.
@doctrinebot commented on GitHub (Oct 23, 2009):
Issue was closed with resolution "Fixed"