$site->toArray() Converts the most important site properties to an array kirby/src/Cms/Site.php#L570 $site->toArray(): array Return type array Parent class Kirby\Cms\Site