class LocalUploadFile implements UnprocessedFileInterface

Methods

__construct($fileName, $contentType, Link $uploadFrom)

No description

string
getFileName()

The name of this file.

string
getContentType()

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

getUploadFrom()

No description

object
jsonSerialize()

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

Details

at line 31
__construct($fileName, $contentType, Link $uploadFrom)

Parameters

$fileName
$contentType
Link $uploadFrom

at line 43
string getFileName()

The name of this file.

Return Value

string

at line 53
string getContentType()

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

Return Value

string

at line 61
Link getUploadFrom()

Return Value

Link

at line 73
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