Reference

Guide

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

Parameters

Name Type Default Description
$dir string

The path of the directory

$format string null
$handler string 'date'

Return type

int

Source code

kirby/src/Toolkit/Dir.php#L235