WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::withUploadedFiles │ public │ WP 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.

Метод класса: ServerRequestInterface{}

Хуков нет.

Возвращает

static.

Использование

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->withUploadedFiles( $uploadedFiles ): ServerRequestInterface;
$uploadedFiles(массив) (обязательный)
An array tree of UploadedFileInterface instances.

Код ServerRequestInterface::withUploadedFiles() WP 7.1.2

public function withUploadedFiles(array $uploadedFiles): ServerRequestInterface;