final class ArrayCacheItemPool implements CacheItemPoolInterface (View source)

Methods

CacheItemInterface
getItem(string $key)
CacheItemInterface
iterable
getItems(array $keys = [])
iterable
bool
hasItem(string $key)
bool
bool
clear()
bool
bool
deleteItem(string $key)
bool
bool
deleteItems(array $keys)
bool
bool
save(CacheItemInterface $item)
bool
bool
saveDeferred(CacheItemInterface $item)
bool
bool
commit()
bool

Details

getItem

CacheItemInterface getItem(string $key)

No description

Parameters

string $key

Return Value

CacheItemInterface

Exceptions

InvalidCacheKeyException

getItems

iterable getItems(array $keys = [])

No description

Parameters

array $keys

Return Value

iterable

Exceptions

InvalidCacheKeyException

hasItem

bool hasItem(string $key)

No description

Parameters

string $key

Return Value

bool

Exceptions

InvalidCacheKeyException

clear

bool clear()

No description

Return Value

bool

deleteItem

bool deleteItem(string $key)

No description

Parameters

string $key

Return Value

bool

Exceptions

InvalidCacheKeyException

deleteItems

bool deleteItems(array $keys)

No description

Parameters

array $keys

Return Value

bool

Exceptions

InvalidCacheKeyException

save

bool save(CacheItemInterface $item)

No description

Parameters

CacheItemInterface $item

Return Value

bool

Exceptions

InvalidCacheKeyException

saveDeferred

bool saveDeferred(CacheItemInterface $item)

No description

Parameters

CacheItemInterface $item

Return Value

bool

Exceptions

InvalidCacheKeyException

commit

bool commit()

No description

Return Value

bool