yii\mongodb\Database::clearCollections PHP Метод

clearCollections() публичный Метод

This method can be used to break cycle references between Database and Collection instances.
public clearCollections ( )
    public function clearCollections()
    {
        $this->_collections = [];
        $this->_fileCollections = [];
    }