Url.setHash
setHash($newHash) -> self
Description
Set the hash
part of the Url.
$site = url'/home#section-2' $site.setHash('section-3') $site.renderString() //= '/home#section-3'
Set the hash
part of the Url.
$site = url'/home#section-2' $site.setHash('section-3') $site.renderString() //= '/home#section-3'