RetrievesMultipleKeys
trait RetrievesMultipleKeys (View source)
Methods
array
many(array $keys)
Retrieve multiple items from the cache by key.
void
putMany(array $values, float|int $minutes)
Store multiple items in the cache for a given number of minutes.
Details
array
many(array $keys)
Retrieve multiple items from the cache by key.
Items not found in the cache will have a null value.
void
putMany(array $values, float|int $minutes)
Store multiple items in the cache for a given number of minutes.