You are here

public function ServerRequestInterface::withUploadedFiles in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/http-message/src/ServerRequestInterface.php \Psr\Http\Message\ServerRequestInterface::withUploadedFiles()

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 An array tree of UploadedFileInterface instances.:

Return value

self

Throws

\InvalidArgumentException if an invalid structure is provided.

2 methods override ServerRequestInterface::withUploadedFiles()
ServerRequest::withUploadedFiles in vendor/zendframework/zend-diactoros/src/ServerRequest.php
Create a new instance with the specified uploaded files.
ServerRequest::withUploadedFiles in vendor/symfony/psr-http-message-bridge/Tests/Fixtures/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);