- Reference >
- MongoDB\GridFS\Bucket Class >
- MongoDB\GridFS\Bucket::getTypeMap()
MongoDB\GridFS\Bucket::getTypeMap()
New in version 1.2.
On this page
Definition
-
MongoDB\GridFS\Bucket::getTypeMap
Returns the type map for this GridFS bucket.
Return Values
A type map array.
Example
The output would then resemble:
array(3) {
["root"]=>
string(5) "array"
["document"]=>
string(5) "array"
["array"]=>
string(5) "array"
}