Documentation

Cache extends AbstractCache
in package

Table of Contents

$expire  : int
The cache expiration time in minutes.
$key  : string
The cache key.
$repository  : Repository
The cache repository implementation.
__construct()  : mixed
Create a new cache instance.
load()  : void
Load the cache.
save()  : void
Persist the cache.

Properties

$expire

The cache expiration time in minutes.

protected int $expire

$key

The cache key.

protected string $key

$repository

The cache repository implementation.

protected Repository $repository

Methods

__construct()

Create a new cache instance.

public __construct(Repository $repository[, string $key = 'flysystem' ][, int|null $expire = null ]) : mixed
Parameters
$repository : Repository
$key : string = 'flysystem'
$expire : int|null = null
Return values
mixed

load()

Load the cache.

public load() : void
Return values
void

save()

Persist the cache.

public save() : void
Return values
void

Search results