Create PHP interface for BSON deserialization

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 0.1.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Hannes Magnusson (Inactive)
              Reporter:
              Hannes Magnusson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: