Habari\FileCache::_purge PHP Метод

_purge() защищенный Метод

Remove all cache files
protected _purge ( )
    protected function _purge()
    {
        Plugins::act('cache_purge_before');
        $glob = Utils::glob(FILE_CACHE_LOCATION . '*.data');
        foreach ($glob as $file) {
            unlink($file);
        }
        $glob = Utils::glob(FILE_CACHE_LOCATION . '*.cache');
        foreach ($glob as $file) {
            unlink($file);
        }
        Plugins::act('cache_purge_after');
    }