FilesystemGhost
class FilesystemGhost extends FilesystemXattr (View source)
Constants
DRIVER_NAME |
|
Properties
protected | $cache_folder | Cache (files) repository | from FilesystemXattr |
Methods
Save item into cache
Delete item from cache
Clear namespace or whole cache
Get multiple items from cache
Save multiple items into cache
Delete multiple items from cache
Check if item is in cache
Details
in FilesystemXattr at line 35
AbstractDriver
__construct(array $configuration)
Class constructor
in AbstractDriver at line 36
string
getName()
Get the driver name
in FilesystemXattr at line 46
bool
test()
Test the driver
The behaiour of this method may differ fro one driver to another. It could forward, for example, a dependency test, a in-cache test or both.
in FilesystemXattr at line 55
string|null
get(string $key, string $namespace)
Get item from cache
at line 28
bool
set(string $key, string $namespace, mixed $value, int $ttl = null)
Save item into cache
at line 54
bool
delete(string $key, string $namespace)
Delete item from cache
at line 71
bool
clear(string $namespace = null)
Clear namespace or whole cache
in FilesystemXattr at line 145
array
getMultiple(array $keys, string $namespace)
Get multiple items from cache
in FilesystemXattr at line 160
bool
setMultiple(array $key_values, string $namespace, int $ttl = null)
Save multiple items into cache
in FilesystemXattr at line 175
bool
deleteMultiple(array $keys, string $namespace)
Delete multiple items from cache
at line 132
bool
has(array $key, string $namespace)
Check if item is in cache
in FilesystemXattr at line 218
array
stats()
Get cache driver statistics
The behaiour of this method may differ fro one driver to another. Providers will transform data in a EnhancedCacheItemPoolStats object.