Version: v0.7.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()
//= e.g. '/home/myusername/myapp/public/images/logo.png'

See Also