Inventory::for()
Scans the directory and analyzes files, content, meta info and children
Inventory::for(string $dir, string $extension = 'txt', array|null $ignore = null, bool $multilang = false): array
Parameters
| Name | Type | Default |
|---|---|---|
| $dirrequired | string |
no default value |
| $extension | string |
'txt'
|
| $ignore | arrayornull |
null
|
| $multilang | bool |
false
|
Return type
array