W3cubDocs

/Symfony 4.1

ArrayTrait

trait ArrayTrait

Traits

LoggerAwareTrait

Methods

array getValues()

Returns all cached values, with cache miss as null.

hasItem($key)

{@inheritdoc}

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

reset()

{@inheritdoc}

Details

array getValues()

Returns all cached values, with cache miss as null.

Return Value

array

hasItem($key)

{@inheritdoc}

Parameters

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Parameters

$key

reset()

{@inheritdoc}

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