src/core/framework/core/3rdparty/dwoo/Dwoo/Template/String.php
public function clearCache(Dwoo $dwoo, $olderThan = -1)
	{
		$cachedFile = $this->getCacheFilename($dwoo);

		return !file_exists($cachedFile) || (filectime($cachedFile) < (time() - $olderThan) && unlink($cachedFile));
	}
public function clearCache(Dwoo $dwoo, $olderThan = -1)
	{
		$cachedFile = $this->getCacheFilename($dwoo);

		return !file_exists($cachedFile) || (filectime($cachedFile) < (time() - $olderThan) && unlink($cachedFile));
	}
public function clearCache ( Dwoo $ dwoo , $ olderThan = - 1 ) { $ cachedFile = $ this -> getCacheFilename ( $ dwoo ) ; return ! file_exists ( $ cachedFile ) || ( filectime ( $ cachedFile ) < ( time ( ) - $ olderThan ) && unlink ( $ cachedFile ) ) ; }
clears the cached template if it's older than the given time

@param Dwoo $dwoo the dwoo instance that was used to cache that template
@param int $olderThan minimum time (in seconds) required for the cache to be cleared
@return bool true if the cache was not present or if it was deleted, false if it remains there
clears the cached template if it s older than the given time