Skip to content

Kirby 5.1.1

$site->inventory()

Creates an inventory of all files and children in the site directory

$site->inventory(): array

Return type

array

This method modifies the existing $site object it is applied to and returns it again.

Parent class

Kirby\Cms\Site