You are here

public function ServerRequest::withUploadedFiles in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-diactoros/src/ServerRequest.php \Zend\Diactoros\ServerRequest::withUploadedFiles()
  2. 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::withUploadedFiles()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::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.

Overrides ServerRequestInterface::withUploadedFiles

File

vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php, line 107

Class

ServerRequest
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Bridge\PsrHttpMessage\Tests\Fixtures

Code

public function withUploadedFiles(array $uploadedFiles) {
  throw new \BadMethodCallException('Not implemented.');
}