-
Notifications
You must be signed in to change notification settings - Fork 1
ServerRequest: withUploadedFiles Example
Terry L edited this page Jun 20, 2020
·
1 revision
Shieldon\Psr7\ServerRequest
Extends Request.
Create a new instance with the specified uploaded files.
-
param
array
uploadedFiles*
An array tree of UploadedFileInterface instances. -
return
static
Example:
$serverRequest = ServerRequestFactory::fromGlobal();
$serverRequest = $serverRequest->withUploadedFiles($newUploadedFiles);
composer require shieldon/psr-http
Shieldon PSR HTTP implementation written by Terry L. from Taiwan.