menu 8 Menu Overview $site->toArray() Converts the most important site properties to an array $site->toArray(): array Return type array Source code kirby/src/Cms/Site.php#L596