$asset->mediaUrl()
Returns the absolute Url to the file in the public media folder
$asset->mediaUrl(string|null $filename = null): string
Parameters
Name | Type | Default |
---|---|---|
$filename | string ornull |
null
|
Return type
string