Serialize the Uri object

# Uri\Rfc3986\Uri::__serialize

(PHP 8 >= 8.5.0)

Uri\Rfc3986\Uri::__serialize — Serialize the Uri object

### Description

public Uri\Rfc3986\Uri::__serialize(): array

Serializes the Uri\Rfc3986\Uri object.

### Parameters

This function has no parameters.

### Return Values

Returns the serialized URI as a string.

### See Also

- Uri\Rfc3986\Uri::__unserialize() - Deserialize the data parameter into a Uri object
- Uri\WhatWg\Url::__serialize() - Serialize the Url object

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open