The MongoDB\BSON\Undefined class (deprecated)

(mongodb >=1.4.0)

はじめに

BSON type for the "Undefined" type. This BSON type is deprecated, and this class can not be instantiated. It will be created from a BSON undefined type while converting BSON to PHP, and can also be converted back into BSON while storing documents in the database.

クラス概要

finalclassMongoDB\BSON\UndefinedimplementsMongoDB\BSON\Type, Serializable, JsonSerializable, Stringable {
finalprivate__construct()
finalpublicjsonSerialize(): mixed
finalpublicserialize(): string
finalpublic__toString(): string
finalpublicunserialize(string$data): void
}

変更履歴

バージョン説明
PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+.

目次

To Top