OpenSwoole\Core\Psr\Uri->withFragment

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.11.1

Declaration

<?php OpenSwoole\Core\Psr\Uri->withFragment()

Parameters

fragment

The fragment to use with the new instance.

Return

Description

Set the URI fragment.

Last updated on February 28, 2026