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

$repository Repository

The cache repository implementation.

Default: null
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

public

load ( ) : void

Load the cache.

public

save ( ) : void

Persist the cache.