mini\Http\Message\UploadedFile::moveFileTo() Method

private

Signature

private function moveFileTo(string $targetPath): void

Parameters

Name Type Default Description
$targetPath string required Documentation missing

Returns

void

Documentation

Move a file-path source to the target path.

In SAPI: uses move_uploaded_file() for security (PSR-7 SHOULD). In CLI or with isUploadedFile override: uses rename().

Source

src/Http/Message/UploadedFileTrait.php:151-165