Repository
interface Repository (View source)
Methods
bool has(string $key) Determine if an item exists in the cache. mixed get(string $key, mixed $default = null) Retrieve an item from the cache by key. mixed pull(string $key, mixed $default = null) Retrieve an item from the cache and delete it. void put(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache. bool add(string $key, mixed $value, DateTime|float|int $minutes) Store an item in