F::move()
Moves a file to a new location
F::move(string $oldRoot, string $newRoot, bool $force = false): bool
Parameters
Name | Type | Default | Description |
---|---|---|---|
$oldRootrequired | string |
no default value | The current path for the file |
$newRootrequired | string |
no default value | The path to the new location |
$force | bool |
false
|
Force move if the target file exists |
Return type
bool