WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::withUploadedFilespublicWP 1.0

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.

Method of the class: ServerRequestInterface{}

No Hooks.

Returns

static.

Usage

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->withUploadedFiles( $uploadedFiles ): ServerRequestInterface;
$uploadedFiles(array) (required)
An array tree of UploadedFileInterface instances.

ServerRequestInterface::withUploadedFiles() code WP 7.0

public function withUploadedFiles(array $uploadedFiles): ServerRequestInterface;