public function clearCache($warmUp = false)
    {
        @unlink($this->cacheFileName('default.raw'));
        foreach ($this->endpointsConfig as $name => $config) {
            unset(self::$endpoints[$name]);
            @unlink($this->cacheFileName($name));
            if ($warmUp) {
                $this->initialize($name);
            }
        }
    }
public function clearCache($warmUp = false)
    {
        @unlink($this->cacheFileName('default.raw'));
        foreach ($this->endpointsConfig as $name => $config) {
            unset(self::$endpoints[$name]);
            @unlink($this->cacheFileName($name));
            if ($warmUp) {
                $this->initialize($name);
            }
        }
    }
public function clearCache ( $ warmUp = false ) { @ unlink ( $ this -> cacheFileName ( 'default.raw' ) ) ; foreach ( $ this -> endpointsConfig as $ name => $ config ) { unset ( self :: $ endpoints [ $ name ] ) ; @ unlink ( $ this -> cacheFileName ( $ name ) ) ; if ( $ warmUp ) { $ this -> initialize ( $ name ) ; } } }
remove the specification cache

@param bool $warmUp recreate the cache after clear
remove the specification cache