public function clear($check)
    {
        if ($check) {
            return true;
        }
        $info = wincache_ucache_info();
        $cacheKeys = $info['ucache_entries'];
        unset($info);
        foreach ($cacheKeys as $key) {
            if (strpos($key['key_name'], $this->_config['prefix']) === 0) {
                wincache_ucache_delete($key['key_name']);
            }
        }

        return true;
    }
public function clear($check)
    {
        if ($check) {
            return true;
        }
        $info = wincache_ucache_info();
        $cacheKeys = $info['ucache_entries'];
        unset($info);
        foreach ($cacheKeys as $key) {
            if (strpos($key['key_name'], $this->_config['prefix']) === 0) {
                wincache_ucache_delete($key['key_name']);
            }
        }

        return true;
    }
public function clear ( $ check ) { if ( $ check ) { return true ; } $ info = wincache_ucache_info ( ) ; $ cacheKeys = $ info [ 'ucache_entries' ] ; unset ( $ info ) ; foreach ( $ cacheKeys as $ key ) { if ( strpos ( $ key [ 'key_name' ] , $ this -> _config [ 'prefix' ] ) === 0 ) { wincache_ucache_delete ( $ key [ 'key_name' ] ) ; } } return true ; }
Delete all keys from the cache. This will clear every
item in the cache matching the cache config prefix.

@param bool $check If true, nothing will be cleared, as entries will
naturally expire in wincache..
@return bool True Returns true.
Delete all keys from the cache . This will clear every item in the cache matching the cache config prefix .