$site->inventory() Creates an inventory of all files and children in the site directory kirby/src/Cms/Site.php#L304 $site->inventory(): array Return type array Parent class Kirby\Cms\Site