$file->site()
Returns the parent Site object
$file->site(): Kirby\Cms\Site
Return type
This method modifies the existing $file
object it is applied to and returns it again.
Parent class
Examples
$site = $file->site();
Returns the parent Site object
$file->site(): Kirby\Cms\Site
This method modifies the existing $file
object it is applied to and returns it again.
$site = $file->site();