PHP Conference Kansai 2025

MongoDB\Driver\CursorInterface::setTypeMap

(mongodb >=1.6.0)

MongoDB\Driver\CursorInterface::setTypeMapDefine un mapa de tipos para usar en la deserialización BSON

Descripción

abstract public MongoDB\Driver\CursorInterface::setTypeMap(array $typemap): void

Define la configuración type map a utilizar durante la deserialización de los resultados BSON en valores PHP.

Parámetros

typeMap (array)

Configuración del mapa de tipos.

Valores devueltos

No devuelve ningún valor.

Errores/Excepciones

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top