NullFileCache
class NullFileCache implements FileCacheInterface (View source)
Null implementation for the file cache.
Methods
__construct(string $prefix, string $collection, string|null $cache_backend_class = NULL, array $cache_backend_configuration = [])
Constructs a FileCache object.
mixed|null
get(string $filepath)
Gets data based on a filename.
array
getMultiple(array $filepaths)
Gets data based on filenames.
set(string $filepath, mixed $data)
Stores data based on a filename.
delete(string $filepath)
Deletes data from the cache.
Details
__construct(string $prefix, string $collection, string|null $cache_backend_class = NULL, array $cache_backend_configuration = [])
Constructs a FileCache object.
mixed|null
get(string $filepath)
Gets data based on a filename.
array
getMultiple(array $filepaths)
Gets data based on filenames.
set(string $filepath, mixed $data)
Stores data based on a filename.
delete(string $filepath)
Deletes data from the cache.