« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 15 for Unserializable (0.001 sec.)
MongoDB\BSON\Unserializable::bsonUnserialize — Constructs the object from a BSO... 12870
MongoDB\BSON\Unserializable::bsonUnserialize (mongodb >=1.0.0) MongoDB\BSON\Unserializable::bsonUnserialize — Constructs the object from a BSON array or document 説明 abstract public function MongoDB\BSON\Unserializable::bsonUnserialize ( a ... 履歴 バージョン 説明 PECL mongodb 2.0.0 Return types previously declared as tentative are now enforced. 例 例1 MongoDB\BSON\Unserializable::bsonUnserialize() example <?php class MyDocument implements MongoDB\BSON\Unserializable { private $data = []; function bs ...
https://man.mtool.work/php/8.3/mongodb-bson-unserializable.bsonunserialize.html
The MongoDB\BSON\Unserializable interface | PHP 8.3 11198
The MongoDB\BSON\Unserializable interface (mongodb >=1.0.0) はじめに Classes that implement this interface may be specified in a type map for unserializing BSON arrays and documents (both root and embedded). インターフェイス概要 class Mongo ... DB\BSON\Unserializable { /* メソッド */ abstract public function bsonUnserialize ( array $data ): void } 変更履歴 バージョン 説明 PECL mongodb 2. ... iate return types. The #[ReturnTypeWillChange] attribute can be added to silence the deprecation notice. 目次 MongoDB\BSON\Unserializable::bsonUnserialize — Constructs the object from a BSON array or document ...
https://man.mtool.work/php/8.3/class.mongodb-bson-unserializable.html
Serialization and deserialization of PHP variables into MongoDB | PHP 8.3 10989
Serialization and deserialization of PHP variables into MongoDB This document discusses how compound structures (i.e. documents, arrays, and objects) are converted between BSON and PHP values. Serialization to BSON Arrays If an array is a p ... the properties of the BSON document, including the __pclass property, are sent as an associative array to the MongoDB\BSON\Unserializable::bsonUnserialize() function to initialise the object's properties. If the named class does not exist or does not implement ... the named class does not exist, is not concrete (i.e. it is abstract or an interface), or does not implement MongoDB\BSON\Unserializable then an MongoDB\Driver\Exception\InvalidArgumentException exception is thrown. If the BSON object has a __pclass property ... the BSON document, including the __pclass property if it exists, will be sent as an associative array to the MongoDB\BSON\Unserializable::bsonUnserialize() function to initialise the object's properties. TypeMaps TypeMaps can be set through the MongoDB\Driver ...
https://man.mtool.work/php/8.3/mongodb.persistence.html
The MongoDB\BSON\Persistable interface | PHP 8.3 10676
The MongoDB\BSON\Persistable interface (mongodb >=1.0.0) はじめに Classes may implement this interface to take advantage of automatic ODM (object document mapping) behavior in the extension. During serialization, the extension will inject a ... will then be used to infer the PHP class (independent of any type map configuration) to be constructed before MongoDB\BSON\Unserializable::bsonUnserialize() is invoked. See Persisting Data for additional information. 注意 : Even if MongoDB\BSON\Serializable::b ... he object to be serialized as a BSON document. インターフェイス概要 class MongoDB\BSON\Persistable implements MongoDB\BSON\Unserializable , MongoDB\BSON\Serializable { /* メソッド */ abstract public function bsonSerialize (): array | stdClass | MongoDB\BSON\Do ... sonSerialize (): array | stdClass | MongoDB\BSON\Document | MongoDB\BSON\PackedArray abstract public function MongoDB\BSON\Unserializable::bsonUnserialize ( array $data ): void } 目次 MongoDB\BSON\Persistable::bsonSerialize — Provides an array or document to s ...
https://man.mtool.work/php/8.3/class.mongodb-bson-persistable.html
MongoDB\BSON\PackedArray::toPHP — Returns the PHP representation of the BSON ar... 8168
MongoDB\BSON\PackedArray::toPHP (mongodb >=1.16.0) MongoDB\BSON\PackedArray::toPHP — Returns the PHP representation of the BSON array 説明 final public function MongoDB\BSON\PackedArray::toPHP ( ? array $typeMap = null ): array | object パラ ... er\Exception\InvalidArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP representation of a BSON value » BSON Types ...
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.tophp.html
MongoDB BSON Classes and Functions | PHP 8.3 8168
MongoDB BSON Classes and Functions 目次 関数 MongoDB\BSON\Document MongoDB\BSON\PackedArray MongoDB\BSON\Iterator MongoDB\BSON\Binary MongoDB\BSON\VectorType MongoDB\BSON\Decimal128 MongoDB\BSON\Javascript MongoDB\BSON\MaxKey MongoDB\BSON\M ... \BSON\Timestamp MongoDB\BSON\UTCDateTime MongoDB\BSON\Type MongoDB\BSON\Persistable MongoDB\BSON\Serializable MongoDB\BSON\Unserializable MongoDB\BSON\BinaryInterface MongoDB\BSON\Decimal128Interface MongoDB\BSON\JavascriptInterface MongoDB\BSON\MaxKeyInterfac ...
https://man.mtool.work/php/8.3/mongodb.bson.html
MongoDB Extension | PHP 8.3 7959
MongoDB Extension This extension is developed atop the » libmongoc and » libbson libraries. It provides a minimal API for core driver functionality: commands , queries , writes , connection management , and BSON serialization . Userland PHP ... — The MongoDB\BSON\Persistable interface MongoDB\BSON\Serializable — The MongoDB\BSON\Serializable interface MongoDB\BSON\Unserializable — The MongoDB\BSON\Unserializable interface MongoDB\BSON\BinaryInterface — The MongoDB\BSON\BinaryInterface interface Mong ...
https://man.mtool.work/php/8.3/book.mongodb.html
MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON docum... 7959
MongoDB\BSON\Document::toPHP (mongodb >=1.16.0) MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON document 説明 final public function MongoDB\BSON\Document::toPHP ( ? array $typeMap = null ): array | object Unseriali ... er\Exception\InvalidArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 参考 MongoDB\BSON\toPHP() - Returns the PHP representation of a BSON value » BSON Types 他のマニュアルの関連ページ DuckD ...
https://man.mtool.work/php/8.3/mongodb-bson-document.tophp.html
MongoDB\BSON\Persistable::bsonSerialize — Provides an array or document to seri... 7854
MongoDB\BSON\Persistable::bsonSerialize (mongodb >=1.0.0) MongoDB\BSON\Persistable::bsonSerialize — Provides an array or document to serialize as BSON 説明 abstract public function MongoDB\BSON\Persistable::bsonSerialize (): array | stdClas ... dClass . 参考 MongoDB\BSON\Serializable::bsonSerialize() - Provides an array or document to serialize as BSON MongoDB\BSON\Unserializable::bsonUnserialize() - Constructs the object from a BSON array or document MongoDB\BSON\Persistable Persisting Data 他のマニ ...
https://man.mtool.work/php/8.3/mongodb-bson-persistable.bsonserialize.html
MongoDB\Driver\Cursor::setTypeMap — Sets a type map to use for BSON unserializa... 7854
MongoDB\Driver\Cursor::setTypeMap (mongodb >=1.0.0) MongoDB\Driver\Cursor::setTypeMap — Sets a type map to use for BSON unserialization 説明 final public function MongoDB\Driver\Cursor::setTypeMap ( array $typemap ): void Sets the type map ... er\Exception\InvalidArgumentException if a class in the type map cannot be instantiated or does not implement MongoDB\BSON\Unserializable . 例 例1 MongoDB\Driver\Cursor::setTypeMap() example <?php $manager = new MongoDB\Driver\Manager ( "mongodb://localhost:27 ...
https://man.mtool.work/php/8.3/mongodb-driver-cursor.settypemap.html
PREV 1 2 NEXT