Zepi/Web/General/src/Manager/AssetCacheManager.php
public function clearAssetCache()
    {
        foreach ($this->cachedFiles as $hash => $fileData) {
            if (!$this->fileBackend->isWritable($fileData['file'])) {
                continue;
            }
        
            $this->fileBackend->deleteFile($fileData['file']);
        }
        
        $this->cachedFiles = array();
        $this->saveAssetsCache();
    }
public function clearAssetCache()
    {
        foreach ($this->cachedFiles as $hash => $fileData) {
            if (!$this->fileBackend->isWritable($fileData['file'])) {
                continue;
            }
        
            $this->fileBackend->deleteFile($fileData['file']);
        }
        
        $this->cachedFiles = array();
        $this->saveAssetsCache();
    }
public function clearAssetCache ( ) { foreach ( $ this -> cachedFiles as $ hash => $ fileData ) { if ( ! $ this -> fileBackend -> isWritable ( $ fileData [ 'file' ] ) ) { continue ; } $ this -> fileBackend -> deleteFile ( $ fileData [ 'file' ] ) ; } $ this -> cachedFiles = array ( ) ; $ this -> saveAssetsCache ( ) ; }
Clears the asset cache.

@access public
Clears the asset cache .