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

Create PHP interface for BSON deserialization

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      A class that the bson serializer should serialize into needs to implement this interface.

      During deserialization the ctor will not be called, but rather the method of this interface.

      interface BSON\Unserializable {
          function bsonUnserialize(array $properties);
      }
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: