Store (Contracts)

Store

interface Store (View source)

Methods

mixed get( string $key)

Retrieve an item from the cache by key.

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

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

int|bool increment( string $key, mixed $value = 1)

Increment the value of an item in the cache.

登录查看完整内容