Filesystem
class Filesystem extends AbstractEnhancedProvider (View source)
Traits
Properties
protected LoggerInterface | $logger | Current logger | from AbstractProvider |
protected string | $namespace | Determine the current cache scope (default: GLOBAL) | from NamespaceTrait |
protected | $driver | from AbstractEnhancedProvider | |
protected | $default_properties | ||
protected | $properties | from AbstractEnhancedProvider |
Methods
__construct(array $properties = [], LoggerInterface $logger = null)
Class constructor
EnhancedCacheItemPoolStats
getStats()
Get provider statistics
static
isXattrSupported($folder)
No description
Details
at line 33
__construct(array $properties = [], LoggerInterface $logger = null)
Class constructor
in AbstractProvider at line 48
getLogger()
{@inheritdoc}
in AbstractProvider at line 57
setLogger(LoggerInterface $logger = null)
{@inheritdoc}
getItem($key)
{@inheritdoc}
getItems(array $keys = [])
{@inheritdoc}
hasItem($key)
{@inheritdoc}
clear()
{@inheritdoc}
deleteItem($key)
{@inheritdoc}
deleteItems(array $keys)
{@inheritdoc}
save(CacheItemInterface $item)
{@inheritdoc}
saveDeferred(CacheItemInterface $item)
{@inheritdoc}
commit()
{@inheritdoc}
in StatefulTrait at line 31
protected
setId($id)
in StatefulTrait at line 39
getId()
in StatefulTrait at line 45
getState()
in StatefulTrait at line 51
getStateMessage()
in StatefulTrait at line 57
getStateTime()
in StatefulTrait at line 63
setState($state, $message = null)
in NamespaceTrait at line 34
getNamespace()
{@inheritdoc}
in NamespaceTrait at line 43
setNamespace($namespace = null)
{@inheritdoc}
at line 66
EnhancedCacheItemPoolStats
getStats()
Get provider statistics
getProperties()
string|null
clearNamespace()
Chear the whole (current) namespace
bool
test()
Test the pool
Test should be used to ensure the status flag is setted correctly. If test passes, then status should be CACHE_SUCCESS, otherwise it should correspond to CACHE_ERROR