Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-226

Implement ArrayAccess for CollectionInfo and DatabaseInfo

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Newer server versions may have "info" and "idIndex" fields, as mentioned in SERVER-26513. Note that the full collection data is available via the __debugInfo() method, but implementing ArrayAccess would make it easier to access such fields. We can also have DatabaseInfo implement ArrayAccess for consistency.

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: