yii\mongodb\Cache::flushValues PHP Method

flushValues() protected method

Child classes may implement this method to realize the flush operation.
protected flushValues ( ) : boolean
return boolean whether the flush operation was successful.
    protected function flushValues()
    {
        $this->db->getCollection($this->cacheCollection)->remove();
        return true;
    }