mini\Http\Message\UploadedFile::moveTo()
Method
public
Signature
public function moveTo(string $targetPath): void
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$targetPath |
string |
required | Documentation missing |
Returns
void
Documentation
Move the uploaded file to a new location.
Uses move_uploaded_file() for real SAPI uploads, rename() for testing/CLI, and stream copying for stream-based sources.