class ArrayAdapter implements AdapterInterface, LoggerAwareInterface, ResettableInterface

Traits

LoggerAwareTrait

Methods

array
getValues()

Returns all cached values, with cache miss as null.

hasItem($key)

{@inheritdoc}

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

reset()

{@inheritdoc}

__construct(int $defaultLifetime, bool $storeSerialized = true)

No description

getItem($key)

{@inheritdoc}

getItems(array $keys = array())

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

commit()

{@inheritdoc}

Details

in ArrayTrait at line line 35
array getValues()

Returns all cached values, with cache miss as null.

Return Value

array

in ArrayTrait at line line 43
hasItem($key)

{@inheritdoc}

Parameters

$key

in ArrayTrait at line line 53
clear()

{@inheritdoc}

in ArrayTrait at line line 63
deleteItem($key)

{@inheritdoc}

Parameters

$key

in ArrayTrait at line line 75
reset()

{@inheritdoc}

at line line 33
__construct(int $defaultLifetime, bool $storeSerialized = true)

Parameters

int $defaultLifetime
bool $storeSerialized Disabling serialization can lead to cache corruptions when storing mutable values but increases performance otherwise

at line line 54
CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

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

{@inheritdoc}

return \Traversable|CacheItem[]

Parameters

array $keys

at line line 93
deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

at line line 105
save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 143
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

at line line 151
commit()

{@inheritdoc}