public function getPathUrl($path)
    {
        $path = $this->validatePath($path);

        $fullPath = $this->storagePath.implode("/", array_map("rawurlencode", explode("/", $path)));

        return Url::to($fullPath);
    }
public function getPathUrl($path)
    {
        $path = $this->validatePath($path);

        $fullPath = $this->storagePath.implode("/", array_map("rawurlencode", explode("/", $path)));

        return Url::to($fullPath);
    }
public function getPathUrl ( $ path ) { $ path = $ this -> validatePath ( $ path ) ; $ fullPath = $ this -> storagePath . implode ( "/" , array_map ( "rawurlencode" , explode ( "/" , $ path ) ) ) ; return Url :: to ( $ fullPath ) ; }
Returns a public file URL.
@param string $path Specifies the file path relative the the Library root.
@return string
Returns a public file URL .