class FilesystemAdapter extends AbstractAdapter

Traits

LoggerAwareTrait

Methods

createSystemCache(string $namespace, int $defaultLifetime, string $version, string $directory, LoggerInterface $logger = null)

No description

getItem($key)

{@inheritdoc}

getItems(array $keys = array())

{@inheritdoc}

hasItem($key)

{@inheritdoc}

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

commit()

{@inheritdoc}

__destruct()

No description

static 
handleUnserializeCallback($class)

No description

static 
throwError($type, $message, $file, $line)

No description

__construct(string $namespace = '', int $defaultLifetime, string|null $directory = null)

No description

Details

in AbstractAdapter at line line 97
static AdapterInterface createSystemCache(string $namespace, int $defaultLifetime, string $version, string $directory, LoggerInterface $logger = null)

Parameters

string $namespace
int $defaultLifetime
string $version
string $directory
LoggerInterface $logger

Return Value

AdapterInterface

in AbstractAdapter at line line 183
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

in AbstractAdapter at line line 208
getItems(array $keys = array())

{@inheritdoc}

return \Traversable|CacheItem[]

Parameters

array $keys

in AbstractAdapter at line line 232
hasItem($key)

{@inheritdoc}

Parameters

$key

in AbstractAdapter at line line 252
clear()

{@inheritdoc}

in AbstractAdapter at line line 268
deleteItem($key)

{@inheritdoc}

Parameters

$key

in AbstractAdapter at line line 276
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

in AbstractAdapter at line line 313
save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

in AbstractAdapter at line line 326
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

in AbstractAdapter at line line 339
commit()

{@inheritdoc}

in FilesystemAdapterTrait at line line 119
__destruct()

in AbstractAdapter at line line 464
static handleUnserializeCallback($class)

Parameters

$class

in FilesystemAdapterTrait at line line 114
static throwError($type, $message, $file, $line)

Parameters

$type
$message
$file
$line

at line line 28
__construct(string $namespace = '', int $defaultLifetime, string|null $directory = null)

Parameters

string $namespace
int $defaultLifetime
string|null $directory