$inventory->toArray() Since 6.0.0 kirby/src/Cms/Inventory.php#L270 $inventory->toArray(): array Return type array Parent class Kirby\Cms\Inventory