src/Ubiquity/cache/CacheManager.php
public static function clearCache(&$config, $type = "all") {
		$cacheDirectories = self::checkCache ( $config );
		$cacheDirs = [ "annotations","controllers","models","queries","views","contents" ];
		foreach ( $cacheDirs as $typeRef ) {
			self::_clearCache ( $cacheDirectories, $type, $typeRef );
		}
	}
public static function clearCache(&$config, $type = "all") {
		$cacheDirectories = self::checkCache ( $config );
		$cacheDirs = [ "annotations","controllers","models","queries","views","contents" ];
		foreach ( $cacheDirs as $typeRef ) {
			self::_clearCache ( $cacheDirectories, $type, $typeRef );
		}
	}
public static function clearCache ( & $ config , $ type = "all" ) { $ cacheDirectories = self :: checkCache ( $ config ) ; $ cacheDirs = [ "annotations" , "controllers" , "models" , "queries" , "views" , "contents" ] ; foreach ( $ cacheDirs as $ typeRef ) { self :: _clearCache ( $ cacheDirectories , $ type , $ typeRef ) ; } }
Deletes files from a cache type

@param array $config
@param string $type
Deletes files from a cache type