Get the absolute URL path
Parameters | |||
---|---|---|---|
string
|
$path = null |
Routing path such as "foo/bar"; null for the current path |
# |
array
|
$queryStr = [] |
Query string as |
# |
string
|
$lang = '' |
Language code to be prepended to $path such as "en/foo/bar". It will be useful for site language switch redirect |
# |
Returns | |
---|---|
string
|