(mongodb >=0.4.0)
MongoDB\Driver\Cursor::setTypeMap — Sets a type map to use for BSON unserialization
$typemap
typemap
例1 MongoDB\Driver\Cursor::setTypeMap() example
<?php/* ... */?>
上の例の出力は、 たとえば以下のようになります。
...