Skip to content

Kirby 5.0.4

$changes->cacheKey()

Returns the cache key for a given model

$changes->cacheKey(Kirby\Cms\ModelWithContent $model): string

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value

Return type

string

This method modifies the existing $changes object it is applied to and returns it again.

Parent class

Kirby\Content\Changes