class UploadFile implements FileInterface

Methods

__construct($fileName, $contentType, $upload)

No description

string
getFileName()

The name of this file

string
getContentType()

The Content- (or MIME-)Type of this file.

string
getUpload()

No description

object
jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

Details

at line 26
__construct($fileName, $contentType, $upload)

Parameters

$fileName
$contentType
$upload

at line 40
string getFileName()

The name of this file

Return Value

string

at line 52
string getContentType()

The Content- (or MIME-)Type of this file.

Return Value

string

at line 62
string getUpload()

Return Value

string

at line 74
object jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

Return Value

object

See also

http://php.net/manual/en/jsonserializable.jsonserialize.php JsonSerializable::jsonSerialize