trait RetrievesMultipleKeys (View source)

Methods

array
many( array $keys)

Retrieve multiple items from the cache by key.

void
putMany( array $values, int $minutes)

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

Details

at line line 15
array many( array $keys)

Retrieve multiple items from the cache by key.

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

Parameters

array $keys

Return Value

array

at line line 33
void putMany( array $values, int $minutes)

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

Parameters

array $values
int $minutes

Return Value

void