$kirby->setSite()
Sets a custom Site object
$kirby->setSite(Kirby\Cms\Site|array|null $site = null): Kirby\Cms\App
Parameters
Name | Type | Default |
---|---|---|
$site | Kirby\Cms\Site orarray ornull |
null
|
Return type
This method modifies the existing $
object it is applied to and returns it again.