Skip to content

Kirby 4.2.0

$memorycache->remove()

Removes an item from the cache and returns whether the operation was successful

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

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

Kirby\Cache\MemoryCache