MongoDB\Driver\CursorInterface::setTypeMap
(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::setTypeMap — Sets a type map to use for BSON unserialization
Description
abstract public function MongoDB\Driver\CursorInterface::setTypeMap(
array $typemap):
void
Sets the type map
configuration to use when unserializing the BSON results into PHP
values.
Return Values
No value is returned.