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

Add var_export() support for ReadConcern, ReadPreference, and WriteConcern

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.2.0
    • Component/s: None

      Considering support PHP serialization and var_export() for the following classes:

      • ReadConcern
      • ReadPreference
      • WriteConcern

      PHPUnit requires serialization in order to pass these objects as test inputs when executing with process isolation.

      We may also want to consider other objects such as CursorId, WriteError, etc.

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

              Created:
              Updated:
              Resolved: