W3cubDocs

/Symfony 4.1

ProxyAdapter

class ProxyAdapter implements AdapterInterface, PruneableInterface, ResettableInterface

Traits

ProxyTrait

Methods

prune()

{@inheritdoc}

from ProxyTrait
reset()

{@inheritdoc}

from ProxyTrait
__construct(CacheItemPoolInterface $pool, string $namespace = '', int $defaultLifetime = 0)
CacheItem getItem($key)

{@inheritdoc}

Traversable|CacheItem[] 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}

Details

prune()

{@inheritdoc}

reset()

{@inheritdoc}

__construct(CacheItemPoolInterface $pool, string $namespace = '', int $defaultLifetime = 0)

Parameters

CacheItemPoolInterface $pool
string $namespace
int $defaultLifetime

CacheItem getItem($key)

{@inheritdoc}

Parameters

$key

Return Value

CacheItem

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

{@inheritdoc}

Parameters

array $keys

Return Value

Traversable|CacheItem[]

hasItem($key)

{@inheritdoc}

Parameters

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Parameters

$key

deleteItems(array $keys)

{@inheritdoc}

Parameters

array $keys

save(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Parameters

CacheItemInterface $item

commit()

{@inheritdoc}

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