class AbstractAdapter implements AdapterInterface, LoggerAwareInterface

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

Details

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

at line line 183
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

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

{@inheritdoc}

return \Traversable|CacheItem[]

Parameters

array $keys

at line line 232
hasItem($key)

{@inheritdoc}

Parameters

$key

at line line 252
clear()

{@inheritdoc}

at line line 268
deleteItem($key)

{@inheritdoc}

Parameters

$key

at line line 276
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

at line line 313
save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 326
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 339
commit()

{@inheritdoc}

at line line 391
__destruct()

at line line 464
static handleUnserializeCallback($class)

Parameters

$class