$content->parent()
Returns the parent Site, Page, File or User object
$content->parent(): Kirby\Cms\ModelWithContent|null
Return types
Kirby\Cms\ModelWithContentornull
This method modifies the existing $content object it is applied to and returns it again.