Repository (Contracts)
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. |