Url.getFilePath
getFilePath() -> string
Description
Get the local file path on disk, relative to the public
directory.
$logoUrl = url'/images/logo.png' $logoUrl.getFilePath() //= Ex: '/home/myusername/myapp/public/images/logo.png'
Get the local file path on disk, relative to the public
directory.
$logoUrl = url'/images/logo.png' $logoUrl.getFilePath() //= Ex: '/home/myusername/myapp/public/images/logo.png'