ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
UploadedFileFactoryInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Psr\Http\Message;
4 
6 {
27  public function createUploadedFile(
29  int $size = null,
30  int $error = \UPLOAD_ERR_OK,
31  string $clientFilename = null,
32  string $clientMediaType = null
34 }
createUploadedFile(StreamInterface $stream, int $size=null, int $error=\UPLOAD_ERR_OK, string $clientFilename=null, string $clientMediaType=null)
Create a new uploaded file.
$size
Definition: RandomTest.php:84
$stream
PHP stream implementation.
Value object representing a file uploaded through an HTTP request.
Describes a data stream.