Prado\Data\SqlMap\DataMapper\TSqlMapApplicationCache::flush PHP 메소드

flush() 공개 메소드

Deletes all items in the cache, only for data cached by sqlmap cachemodel
public flush ( )
    public function flush()
    {
        $keyList = $this->getKeyList();
        $cache = $this->getCache();
        foreach ($keyList as $key) {
            $cache->delete($key);
        }
        // Remove the old keylist
        $cache->delete($this->getKeyListId());
    }