$filesystem
$filesystem : \League\Flysystem\FilesystemInterface
$filesystem : \League\Flysystem\FilesystemInterface
handle(string $path, string $newpath) : bool
Copies a file, overwriting any existing files.
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.