$filesystem
$filesystem : \League\Flysystem\FilesystemInterface
$filesystem : \League\Flysystem\FilesystemInterface
handle(string $path, string $newpath) : bool
Renames a file, overwriting the destination if it exists.
string | $path | Path to the existing file. |
string | $newpath | The new path of the file. |
Thrown if $path does not exist.
True on success, false on failure.