Index Documentation

HttpUploadedFile
in package
implements ICloseable

Table of Contents

Interfaces

ICloseable
Provides an interface for releasing unmanaged resources.

Methods

__construct()  : mixed
__destruct()  : mixed
close()  : void
Free, release or reset unmanaged resources.
createFromFILE()  : self
createFromFILES()  : array<string|int, mixed>
getErrorCode()  : int
getLocalFileName()  : string|null
getLocalMediaType()  : MediaType|null
getSize()  : int
getStream()  : Stream
getSuggestedFileName()  : string
getSuggestedMediaType()  : MediaType
hasMoved()  : bool
moveTo()  : void

Methods

__construct()

public __construct(int $errorCode, int $size, string $localFileName, string $suggestedFileName, MediaType|string $suggestedMediaType) : mixed
Parameters
$errorCode : int
$size : int
$localFileName : string
$suggestedFileName : string
$suggestedMediaType : MediaType|string

close()

Free, release or reset unmanaged resources.

public close() : void

createFromFILE()

public static createFromFILE(array<string|int, mixed> $file) : self
Parameters
$file : array<string|int, mixed>
Return values
self

createFromFILES()

public static createFromFILES(array<string|int, mixed> $files) : array<string|int, mixed>
Parameters
$files : array<string|int, mixed>
Return values
array<string|int, mixed>

getLocalFileName()

public getLocalFileName() : string|null
Return values
string|null

getSuggestedFileName()

public getSuggestedFileName() : string
Return values
string

        
On this page

Search results