Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-310

Classes should be final unless inheritance is necessary

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Exception classes need not be final. Currently, some leaf classes (e.g. DuplicateKeyException) are final, but base exception classes (e.g. ConnectionException) are not.

      BSON type classes should be final. Additionally BSON classes should disable serialization until PHPC-460 may be implemented.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: