Doctrine\Common\Cache\MongoDBCache::doFlush PHP Method

doFlush() protected method

protected doFlush ( )
    protected function doFlush()
    {
        // Use remove() in lieu of drop() to maintain any collection indexes
        $result = $this->collection->remove();
        return isset($result['ok']) ? $result['ok'] == 1 : true;
    }