Skip to content

Kirby 4.4.1

Dir::dirs()

Get all subdirectories

Dir::dirs(string $dir, ?array $ignore = null, bool $absolute = false): array

Parameters

Name Type Default
$dir * string
$ignore array|null null
$absolute bool false

Return type

array

Parent class

Kirby\Filesystem\Dir