Skip to content

Kirby 4.2.0

$cache->flush()

Flushes the entire cache and returns whether the operation was successful; this needs to be defined by the driver

$cache->flush(): bool

Return type

bool

Parent class

Kirby\Cache\Cache