public getFileCollection ( string | array $prefix = 'fs', boolean $refresh = false ) : |
||
$prefix | string | array | collection prefix. If string considered as the prefix of the GridFS collection inside the default database. If array - first element considered as the name of the database, second - as prefix of the GridFS collection inside that database, if no second element present default "fs" prefix will be used. |
$refresh | boolean | whether to reload the collection instance even if it is found in the cache. |
return | Mongo GridFS collection instance. |