Documentation

MultiPutCache

Interface for cache drivers that allows to put many items at once.

Tags
deprecated
link
www.doctrine-project.org

Table of Contents

Methods

saveMultiple()  : bool
Returns a boolean value indicating if the operation succeeded.

Methods

saveMultiple()

Returns a boolean value indicating if the operation succeeded.

public saveMultiple(array<string|int, mixed> $keysAndValues[, int $lifetime = 0 ]) : bool
Parameters
$keysAndValues : array<string|int, mixed>

Array of keys and values to save in cache

$lifetime : int = 0

The lifetime. If != 0, sets a specific lifetime for these cache entries (0 => infinite lifeTime).

Return values
bool

TRUE if the operation was successful, FALSE if it wasn't.


        
On this page

Search results