setAutosave() setAutosave(bool $autosave) : mixed Get the autosave setting. Parameters bool $autosave Returns mixed —
storeContents() storeContents(mixed $directory, array $contents, mixed $recursive = false) : array Store the contents listing. Parameters mixed $directory array $contents mixed $recursive Returns array — contents listing
updateObject() updateObject(mixed $path, array $object, mixed $autosave = false) : mixed Update the metadata for an object. Parameters mixed $path object path array $object object metadata mixed $autosave whether to trigger the autosave routine Returns mixed —
storeMiss() storeMiss(mixed $path) : mixed Store object hit miss. Parameters mixed $path Returns mixed —
listContents() listContents(mixed $directory = '', mixed $recursive = false) : array Get the contents listing. Parameters mixed $directory mixed $recursive Returns array — contents listing
rename() rename(mixed $path, mixed $newpath) : mixed Rename a file. Parameters mixed $path mixed $newpath Returns mixed —
copy() copy(mixed $path, mixed $newpath) : mixed Copy a file. Parameters mixed $path mixed $newpath Returns mixed —
delete() delete(mixed $path) : mixed Delete an object from cache. Parameters mixed $path object path Returns mixed —
deleteDir() deleteDir(mixed $dirname) : mixed Delete all objects from from a directory. Parameters mixed $dirname directory path Returns mixed —
getTimestamp() getTimestamp(mixed $path) : mixed {@inheritdoc} Parameters mixed $path Returns mixed —
getVisibility() getVisibility(mixed $path) : mixed {@inheritdoc} Parameters mixed $path Returns mixed —
isComplete() isComplete(mixed $dirname, mixed $recursive) : bool Check whether the directory listing of a given directory is complete. Parameters mixed $dirname mixed $recursive Returns bool —
setComplete() setComplete(mixed $dirname, mixed $recursive) : mixed Set a directory to completely listed. Parameters mixed $dirname mixed $recursive Returns mixed —
cleanContents() cleanContents(array $contents) : array Filter the contents from a listing. Parameters array $contents object listing Returns array — filtered contents
getForStorage() getForStorage() : string Retrieve serialized cache data. Returns string — serialized data
setFromStorage() setFromStorage(string $json) : mixed Load from serialized cache data. Parameters string $json Returns mixed —
ensureParentDirectories() ensureParentDirectories(string $path) : mixed Ensure parent directories of an object. Parameters string $path object path Returns mixed —
pathIsInDirectory() pathIsInDirectory(string $directory, string $path) : bool Determines if the path is inside the directory. Parameters string $directory string $path Returns bool —