Icicle\Http\Message\Uri::withFragment PHP Method

withFragment() public method

Returns a new instance with the given fragment or null to remove fragment. Any # prefix should be trimmed.
public withFragment ( string $fragment = null ) : Icicle\Http\Message\Uri
$fragment string
return Icicle\Http\Message\Uri
    public function withFragment(string $fragment = null) : Uri;