Store (Contracts)

Store

interface Store (View source)

Methods

登录查看完整内容
mixed get(string|array $key)

Retrieve an item from the cache by key.

array many(array $keys)

Retrieve multiple items from the cache by key.

void put(string $key, mixed $value, float|int $minutes)

Store an item in the cache for a given number of minutes.