OpenSwoole\Core\Psr\UploadFile->__construct

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

Declaration

<?php OpenSwoole\Core\Psr\UploadFile->__construct()

Parameters

fileOrResourceOrStream
size

Size of the upload file

errorStatus

Error status

clientFilename

Filename of the upload file

clientMediaType

Media type of the upload file

Return

Description

Create a new UploadFile with constructor function.

Last updated on September 23, 2022