Skip to content

Kirby 6.0.0

$modelWithContent->purge()

Clean internal caches

$modelWithContent->purge(): ModelWithContent

Return type

Kirby\Cms\ModelWithContent

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

Parent class

Kirby\Cms\ModelWithContent