$model->setSite()
Setter for the parent site object
$model->setSite(Kirby\Cms\Site $site = null): Kirby\Cms\Model
Parameters
Name | Type | Default |
---|---|---|
$site | Kirby\Cms\Site |
null |
Return type
This method modifies the existing $model
object it is applied to and returns it again.