Deserialize the data parameter into a Uri object

# Uri\Rfc3986\Uri::__unserialize

(PHP 8 >= 8.5.0)

Uri\Rfc3986\Uri::__unserialize — Deserialize the data parameter into a Uri object

### Description

public Uri\Rfc3986\Uri::__unserialize(array `$data`): void

Deserializes a data parameter into a Uri\Rfc3986\Uri object.

### Parameters

`data`
  The serialized data as an array.

### Return Values

No value is returned.

### Errors/Exceptions

If the __unserialize() method is called on an already existing URI, Error is thrown.

If the resulting URI is invalid, a Uri\InvalidUriException is thrown.

### See Also

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

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