Version: v0.8.1 - Beta.  We welcome contributors & feedback.

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'

See Also