Skip to content

Kirby 6.0.0

new Inventory()

new Inventory(string $dir, string $extension = 'txt', array|null $ignore = null, bool $multilang = false)

Parameters

Name Type Default
$dirrequired string no default value
$extension string 'txt'
$ignore arrayornull null
$multilang bool false

Parent class

Kirby\Cms\Inventory