You are here

public function ServerRequestInterface::withUploadedFiles in Lockr 7.3

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.

Parameters

array $uploadedFiles An array tree of UploadedFileInterface instances.:

Return value

static

Throws

\InvalidArgumentException if an invalid structure is provided.

1 method overrides ServerRequestInterface::withUploadedFiles()
ServerRequest::withUploadedFiles in vendor/guzzlehttp/psr7/src/ServerRequest.php
Create a new instance with the specified uploaded files.

File

vendor/psr/http-message/src/ServerRequestInterface.php, line 150

Class

ServerRequestInterface
Representation of an incoming, server-side HTTP request.

Namespace

Psr\Http\Message

Code

public function withUploadedFiles(array $uploadedFiles);