Documentation

clean

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

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

Parameters

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

examples



© «Bitrix24», 2001-2024
Up