Skip to content

Kirby 4.4.1

Dir::modified()

Recursively check when the dir and all subfolders have been modified for the last time.

Dir::modified(string $dir, ?string $format = null, ?string $handler = null): string|int

Parameters

Name Type Default Description
$dir * string The path of the directory
$format string|null null
$handler string|null null Custom date handler or null
for the globally configured one

Return type

string|int

Parent class

Kirby\Filesystem\Dir