getFileCollection() public method (available since version 2.1)
Returns the MongoDB collection for the files.
public yii\mongodb\Collection getFileCollection ( $refresh = false ) | ||
---|---|---|
$refresh | boolean |
Whether to reload the collection instance even if it is found in the cache. |
return | yii\mongodb\Collection |
Mongo collection instance. |
Please login to continue.