HasStoredContent
trait HasStoredContent
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 26
string|null
name()
Get the displayable name of the file.
at line 34
string|null
mimeType()
Get the file's MIME type.
at line 45
array
jsonSerialize()
Get the JSON serializable representation of the instance.
at line 53
string
__toString()
Get the file content as a string.