public function ServerRequest::withUploadedFiles in Auth0 Single Sign On 8.2
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.
Overrides ServerRequestInterface::withUploadedFiles
File
- vendor/
guzzlehttp/ psr7/ src/ ServerRequest.php, line 266
Class
- ServerRequest
- Server-side HTTP request
Namespace
GuzzleHttp\Psr7Code
public function withUploadedFiles(array $uploadedFiles) {
$new = clone $this;
$new->uploadedFiles = $uploadedFiles;
return $new;
}