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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Cache/RetrievesMultipleKeys.html