Skip to content

Kirby 4.2.0

$fileversion->save()

Applies the stored modifications and saves the file on disk

$fileversion->save(): Kirby\Cms\FileVersion

Return type

Kirby\Cms\FileVersion

This method does not modify the existing $fileversion object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\FileVersion