W3cubDocs

/Symfony 4.1

AdapterInterface

interface AdapterInterface implements CacheItemPoolInterface

Interface for adapters managing instances of Symfony's CacheItem.

Methods

CacheItem getItem($key)

{@inheritdoc}

Traversable|CacheItem[] getItems(array $keys = array())

{@inheritdoc}

Details

CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

Traversable|CacheItem[] getItems(array $keys = array())

{@inheritdoc}

Parameters

array $keys

Return Value

Traversable|CacheItem[]

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Cache/Adapter/AdapterInterface.html