Reference

Dir::move()

Moves a directory to a new location

Dir::move(string $old, string $new): bool

Parameters

Name Type Default Description
$old string

The current path of the directory

$new string

The desired path where the dir should be moved to

Return type

bool

Source code

kirby/src/Toolkit/Dir.php#L257