class
Illuminate
/
Filesystem
/
Cache
You are viewing an older version of the documentation. For the latest, please visit master documentation.
Cache
Extends
-
League\...\AbstractCache
Properties
protected
$key string
The cache key.
Default: null
protected
$expire int|null
The cache expiration time in seconds.
Default: null
Methods
public
__construct ( Repository $repository , $key , $expire ) : void
Create a new cache instance.
Parameters
- $repository Repository
- $key string
- $expire int|null
public
load ( ) : void
Load the cache.
public
save ( ) : void
Persist the cache.