Documentation

RetrievesMultipleKeys

Table of Contents

many()  : array<string|int, mixed>
Retrieve multiple items from the cache by key.
putMany()  : void
Store multiple items in the cache for a given number of minutes.

Methods

many()

Retrieve multiple items from the cache by key.

public many(array<string|int, mixed> $keys) : array<string|int, mixed>

Items not found in the cache will have a null value.

Parameters
$keys : array<string|int, mixed>
Return values
array<string|int, mixed>

putMany()

Store multiple items in the cache for a given number of minutes.

public putMany(array<string|int, mixed> $values, float|int $minutes) : void
Parameters
$values : array<string|int, mixed>
$minutes : float|int
Return values
void

Search results