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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Rethans
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: