Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-44

Remove the static driver class map in DriverManager.

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA2
    • Fix Version/s: 2.0-ALPHA3
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      Remove the static driver class map in DriverManager. Users should supply the class names directly instead. This is more flexible and less maintenance.

        Activity

        Hide
        guilhermeblanco Guilherme Blanco added a comment -

        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. =)

        Show
        guilhermeblanco Guilherme Blanco added a comment - 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. =)
        Hide
        jwage Jonathan H. Wage added a comment -

        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.

        Show
        jwage Jonathan H. Wage added a comment - 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.

          People

          • Assignee:
            jwage Jonathan H. Wage
            Reporter:
            romanb Roman S. Borschel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: