phasync
Uri / jsonSerialize

Method

Uri::jsonSerialize

Returns the URI as a string, like __toString().

Description#

public Uri::jsonSerialize()

Uri does not implement JsonSerializable, so json_encode() does not call this.