HasLocalContent
trait HasLocalContent
Methods
string
content()
Get the raw representation of the file.
string|null
name()
Get the displayable name of the file.
string|null
mimeType()
Get the file's MIME type.
array
jsonSerialize()
Get the JSON serializable representation of the instance.
string
__toString()
Get the file content as a string.
Details
at line 17
string
content()
Get the raw representation of the file.
at line 31
string|null
name()
Get the displayable name of the file.
at line 39
string|null
mimeType()
Get the file's MIME type.
at line 47
array
jsonSerialize()
Get the JSON serializable representation of the instance.
at line 55
string
__toString()
Get the file content as a string.