Skip to content

Kirby 4.1.2

Dir::remove()

Removes a folder including all containing files and folders

Dir::remove(string $dir): bool

Parameters

Name Type Default
$dir * string

Return type

bool

Parent class

Kirby\Filesystem\Dir