Documentation

clean

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

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

Parameters

ParameterDescriptionVersion
$baseDirMain directory for cache files (usually /bitrix/cache).
$initDirDirectory inside the main one.
$filenameFile name.

Examples



© «Bitrix24», 2001-2024
Up