Documentation

clean

void public
\Bitrix\Main\Data\CacheEngineFiles::clean(
 string $baseDir,
 string $initDir = '',
 string $filename = ''
);

This non-static method cleans (deletes) cache directory or file.

Parameters

ParameterDescriptionVersion
$baseDirMain directory for cache (usually /bitrix/cache).
$initDirInitial directory.
$filenameFile name.

Examples



© «Bitrix24», 2001-2024
Up