$page->inventory()
Returns the inventory of files children and content files
$page->inventory(): array
Return type
array
Parent class
The inventory array contains a list of all inventory items of the page, like the content files, children, files, meta files, etc.
Example
<?php
dump($page->inventory());
?>