You are here

public function Uri::getFragment in Auth0 Single Sign On 8.2

Retrieve the fragment component of the URI.

If no fragment is present, this method MUST return an empty string.

The leading "#" character is not part of the fragment and MUST NOT be added.

The value returned MUST be percent-encoded, but MUST NOT double-encode any characters. To determine what characters to encode, please refer to RFC 3986, Sections 2 and 3.5.

Return value

string The URI fragment.

Overrides UriInterface::getFragment

See also

https://tools.ietf.org/html/rfc3986#section-2

https://tools.ietf.org/html/rfc3986#section-3.5

File

vendor/guzzlehttp/psr7/src/Uri.php, line 417

Class

Uri
PSR-7 URI implementation.

Namespace

GuzzleHttp\Psr7

Code

public function getFragment() {
  return $this->fragment;
}