Method
Uri::withFragment
Returns a copy of the URI with the fragment replaced.
Description#
public Uri::withFragment(
$fragment
): UriInterfaceParameters#
- $fragment
Return values#
UriInterface
See also#
Psr\Http\Message\UriInterface::withFragment