[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/third-party/Psr/Http/Message/ -> UploadedFileFactoryInterface.php (summary)

(no description)

File Size: 28 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UploadedFileFactoryInterface:: (1 method):
  createUploadedFile()


Interface: UploadedFileFactoryInterface  - X-Ref

createUploadedFile(StreamInterface $stream, ?int $size = null, int $error = \UPLOAD_ERR_OK, ?string $clientFilename = null, ?string $clientMediaType = null)   X-Ref
Create a new uploaded file.

If a size is not provided it will be determined by checking the size of
the file.

return: UploadedFileInterface
param: StreamInterface $stream Underlying stream representing the
param: int|null $size in bytes
param: int $error PHP file upload error
param: string|null $clientFilename Filename as provided by the client, if any.
param: string|null $clientMediaType Media type as provided by the client, if any.



Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref