CodeExplorer doSaveCache example
null ===
$renamed ?:
rmdir($renamed);
} } finally { restore_error_handler();
} return $ok;
} protected function doSave(array
$values, int
$lifetime, array
$addTagData =
[], array
$removeTagData =
[]): array
{ $failed =
$this->
doSaveCache($values,
$lifetime);
// Add Tags as symlinks
foreach ($addTagData as $tagId =>
$ids) { $tagFolder =
$this->
getTagFolder($tagId);
foreach ($ids as $id) { if ($failed && \
in_array($id,
$failed, true
)) { continue;
} $file =
$this->
getFile($id);