mini\Http\Message\ServerRequest::withUploadedFiles() Method

public

Signature

public function withUploadedFiles(array $uploadedFiles): Psr\Http\Message\ServerRequestInterface

Parameters

Name Type Default Description
$uploadedFiles array required Documentation missing

Returns

Psr\Http\Message\ServerRequestInterface

Documentation

Create a new instance with the specified uploaded files.

This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that has the updated body parameters.

Source

src/Http/Message/ServerRequestTrait.php:274-281