Skip to content

Kirby 4.1.2

$cache->remove()

Removes an item from the cache and returns whether the operation was successful; this needs to be defined by the driver

$cache->remove(string $key): bool

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

Kirby\Cache\Cache