class FilesystemAdapter extends AbstractAdapter

Traits

Methods

hasItem($key)

{@inheritdoc}

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

static 
handleUnserializeCallback($class)

No description

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

No description

static 
createConnection($dsn, array $options = array())

No description

getItem($key)

{@inheritdoc}

getItems(array $keys = array())

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

commit()

{@inheritdoc}

__destruct()

No description

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

No description

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

No description

Details

in AbstractTrait at line line 83
hasItem($key)

{@inheritdoc}

Parameters

$key

in AbstractTrait at line line 103
clear()

{@inheritdoc}

in AbstractTrait at line line 119
deleteItem($key)

{@inheritdoc}

Parameters

$key

in AbstractTrait at line line 127
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

in AbstractTrait at line line 205
static handleUnserializeCallback($class)

Parameters

$class

in AbstractAdapter at line line 90
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 127
static createConnection($dsn, array $options = array())

Parameters

$dsn
array $options

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

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

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

{@inheritdoc}

return \Traversable|CacheItem[]

Parameters

array $keys

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

{@inheritdoc}

Parameters

CacheItemInterface $item

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

{@inheritdoc}

Parameters

CacheItemInterface $item

in AbstractAdapter at line line 220
commit()

{@inheritdoc}

in FilesystemCommonTrait at line line 119
__destruct()

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

Parameters

$type
$message
$file
$line

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

Parameters

string $namespace
int $defaultLifetime
string|null $directory