update page now

Uri\Rfc3986\Uri::__unserialize

(PHP 8 >= 8.5.0)

Uri\Rfc3986\Uri::__unserializeDeserialize 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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top