$file->move()
Move the file to a new location
Parameters
Name | Type | Default | Description |
---|---|---|---|
$newRoot * | string |
– | |
$overwrite | bool |
false |
Force overwriting any existing files |
Return type
This method does not modify the existing $file
object but returns a new object with the changes applied. Learn more →