Skip to content

Kirby 3.5.7.1

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

Parent class

Kirby\Cms\Dir inherited from Kirby\Toolkit\Dir