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

Rename BSON from/toArray() methods to from/toPHP()

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

      We currently have

      BSON\fromArray() & BSON\toArray()

      Would be nice to have *Object() counterparts:
      BSON\fromObject() & BSON\toArray()

      Currently the *Array() functions accept both array and objects, should be changed to only accept arrays – and the *Object() only objects.

            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: