yii\mongodb\Database::selectFileCollection PHP Méthode

selectFileCollection() protected méthode

Selects GridFS collection with given prefix.
protected selectFileCollection ( string $prefix ) : Collection
$prefix string file collection prefix.
Résultat yii\mongodb\file\Collection file collection instance.
    protected function selectFileCollection($prefix)
    {
        return Yii::createObject(['class' => 'yii\\mongodb\\file\\Collection', 'database' => $this, 'prefix' => $prefix]);
    }