Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

UploadedFileFactory
in package
implements UploadedFileFactoryInterface

Table of Contents

Interfaces

UploadedFileFactoryInterface

Methods

createUploadedFile()  : UploadedFileInterface

Methods

createUploadedFile()

public createUploadedFile(StreamInterface $stream[, int|null $size = null ][, int $error = UPLOAD_ERR_OK ][, string|null $clientFilename = null ][, string|null $clientMediaType = null ]) : UploadedFileInterface
Parameters
$stream : StreamInterface
$size : int|null = null
$error : int = UPLOAD_ERR_OK
$clientFilename : string|null = null
$clientMediaType : string|null = null
Return values
UploadedFileInterface
On this page