setAutosave() setAutosave(bool $autosave) : mixed Get the autosave setting. Parameters bool $autosave Returns mixed —
storeContents() storeContents(string $directory, array $contents, bool $recursive = false) : array Store the contents listing. Parameters string $directory array $contents bool $recursive Returns array — contents listing
updateObject() updateObject(string $path, array $object, bool $autosave = false) : mixed Update the metadata for an object. Parameters string $path object path array $object object metadata bool $autosave whether to trigger the autosave routine Returns mixed —
storeMiss() storeMiss(string $path) : mixed Store object hit miss. Parameters string $path Returns mixed —
listContents() listContents(string $dirname = '', bool $recursive = false) : array Get the contents listing. Parameters string $dirname bool $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 —
__construct() __construct(\Predis\Client $client = null, string $key = 'flysystem', int|null $expire = null) : mixed Constructor. Parameters \Predis\Client $client predis client string $key storage key int|null $expire seconds until cache expiration Returns mixed —
pathIsInDirectory() pathIsInDirectory(string $directory, string $path) : bool Determines if the path is inside the directory. Parameters string $directory string $path Returns bool —
executeCommand() executeCommand(string $name, array $arguments) : string Execute a Predis command. Parameters string $name array $arguments Returns string —