Skip to content

Kirby 4.3.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