class UploadedFile extends File
A file uploaded through a form.
Methods
__construct(string $path, string $originalName, string|null $mimeType = null, int|null $size = null, int|null $error = null, bool $test = false) Accepts the information of the uploaded file as provided by the PHP global $_FILES.
string|null guessExtension() Returns the extension based on the mime type. from File string|null getMimeType() Returns the mime type of the file. from File File move(string $dire