$content->update()
Updates the content and returns a cloned object
$content->update(array $content = null, bool $overwrite = false): Kirby\Cms\Content
Parameters
Name | Type | Default |
---|---|---|
$content | array |
null |
$overwrite | bool |
false |
Return type
This method modifies the existing $content
object it is applied to and returns it again.