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 28
__construct($fileName, $contentType, Link $uploadFrom)

Parameters

$fileName
$contentType
Link $uploadFrom

at line 40
string getFileName()

The name of this file

Return Value

string

at line 50
string getContentType()

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

Return Value

string

at line 58
Link getUploadFrom()

Return Value

Link

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