Skip to content

Kirby 5.1.1

$kirby->site()

Initializes and returns the Site object

$kirby->site(): Kirby\Cms\Site

Return type

Kirby\Cms\Site

This method modifies the existing $app object it is applied to and returns it again.

Parent class

Kirby\Cms\App