$memoryStorage->touch()
Updates the modification timestamp of an existing version
$memoryStorage->touch(Kirby\Content\VersionId $versionId, Kirby\Cms\Language $language): void
Parameters
Name | Type | Default |
---|---|---|
$versionIdrequired | Kirby\Content\VersionId |
no default value |
$languagerequired | Kirby\Cms\Language |
no default value |
Exceptions
Type | Description |
---|---|
Kirby\Exception\NotFoundException |
If the version does not exist |