$file->dataUri()
Returns the file as data uri
Parameters
Name | Type | Default | Description |
---|---|---|---|
$base64 | bool |
true |
Whether the data should be base64 encoded or not |
Return type
string
Returns the file as data uri
Name | Type | Default | Description |
---|---|---|---|
$base64 | bool |
true |
Whether the data should be base64 encoded or not |
string