FragmentInterface
extends
UriComponentInterface
in
Table of Contents
Methods
- __toString() : string
- Returns the instance string representation.
- decoded() : string|null
- Returns the decoded fragment.
- getUriComponent() : string
- Returns the instance string representation with its optional URI delimiters.
- jsonSerialize() : string|null
- Returns the instance json representation.
- toString() : string
- Returns the instance string representation.
- value() : string|null
- Returns the instance string representation.
Methods
__toString()
Returns the instance string representation.
public
__toString() : string
If the instance is defined, 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.
If the instance is not defined, an empty string is returned
Return values
stringdecoded()
Returns the decoded fragment.
public
decoded() : string|null
Return values
string|nullgetUriComponent()
Returns the instance string representation with its optional URI delimiters.
public
getUriComponent() : string
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.
If the instance is not defined, an empty string is returned
Return values
stringjsonSerialize()
Returns the instance json representation.
public
jsonSerialize() : string|null
If the instance is defined, 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 or RFC 1738.
If the instance is not defined, null is returned
Return values
string|nulltoString()
Returns the instance string representation.
public
toString() : string
If the instance is defined, 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.
If the instance is not defined, an empty string is returned
Return values
stringvalue()
Returns the instance string representation.
public
value() : string|null
If the instance is defined, 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.
If the instance is not defined null is returned