Skip to content

Kirby 4.2.0

$apcucache->set()

Writes an item to the cache for a given number of minutes and returns whether the operation was successful

$apcucache->set(string $key, $value, int $minutes = 0): bool

Parameters

Name Type Default
$key * string
$value * mixed
$minutes int 0

Return type

bool

Parent class

Kirby\Cache\ApcuCache