getFileCollection() public method
Returns Mongo GridFS collection with given prefix.
public yii\mongodb\file\Collection getFileCollection ( $prefix = 'fs', $refresh = false ) | ||
---|---|---|
$prefix | string |
Collection prefix. |
$refresh | boolean |
Whether to reload the collection instance even if it is found in the cache. |
return | yii\mongodb\file\Collection |
Mongo GridFS collection. |
Please login to continue.