Skip to content

Kirby 3.5.7.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 = 'date'): int|string

Parameters

Name Type Default Description
$dir * string The path of the directory
$format string null
$handler string 'date'

Return type

int|string

Parent class

Kirby\Toolkit\Dir