Skip to content

Kirby 4.5.0

Dir::files()

Get all files

Dir::files(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