phpday 2027 - Call for Papers

The MongoDB\BSON\DBPointer class

(mongodb >=1.4.0)

Introduzione

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

Sommario della classe

final class MongoDB\BSON\DBPointer implements MongoDB\BSON\Type, JsonSerializable, Stringable {
/* Metodi */
final private function __construct()
final public function jsonSerialize(): mixed
final public function __toString(): string
}

Log delle modifiche

Versione Descrizione
PECL mongodb 2.0.0 Questa classe non implementa più l'interfaccia Serializable.
PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+.

Indice dei contenuti

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top