Results of 1 - 4 of about 4 for pclass (0.019 sec.)
- Deserialization from BSON 12297
- « Serialization to BSON Security » PHP Manual Persisting Data Deserialization from BSON Deserial
...
y . A BSON document (root or embedded) without a __pclass property [1] becomes a PHP stdClass object, with e ...
perty. A BSON document (root or embedded) with a __pclass property [1] becomes a PHP object of the class nam ...
e as defined by the __pclass property. If the named class implements the MongoD ...
e properties of the BSON document, including the __pclass property, are sent as an associative array to the ...
-
https://man.plustar.jp/php/mongodb.persistence.deserialization.html
- [similar]
- The MongoDB\BSON\Persistable interface 8820
- « MongoDB\BSON\Type MongoDB\BSON\Serializable » PHP Manual MongoDB\BSON The MongoDB\BSON\Persist
...
. During serialization, the driver will inject a __pclass property containing the PHP class name into the da ...
onSerialize() . During unserialization, the same __pclass property will then be used to infer the PHP class ...
ould return a sequential array, injection of the __pclass property will cause the object to be serialized as ...
rray , Unserializable , bsonSerialize , property , pclass , During , bsonUnserialize ...
-
https://man.plustar.jp/php/class.mongodb-bson-persistable.html
- [similar]
- Serialization to BSON 8488
- « Persisting Data Deserialization from BSON » PHP Manual Persisting Data Serialization to BSON S
...
paragraphs, but also add an additional property __pclass as a Binary value, with subtype 0x80 and data bear ...
name of the object that is being serialized. The __pclass property is added to the array or object returned ...
nSerialize() , which means it will overwrite any __pclass key/property in the MongoDB\BSON\Serializable::bso ...
ou want to avoid this behaviour and set your own __pclass value, you must not implement MongoDB\BSON\Persist ...
-
https://man.plustar.jp/php/mongodb.persistence.serialization.html
- [similar]
- Create a new Query 7323
- « MongoDB\Driver\Query MongoDB\Driver\BulkWrite » PHP Manual MongoDB\Driver\Query Create a new Q
...
ality to deserialise documents as their original PHP class, make sure that you include the __pclass field in ...
-
https://man.plustar.jp/php/mongodb-driver-query.construct.html
- [similar]
PREV
1
NEXT