Uri\WhatWg\Url::__unserialize
PHP function
Edit on GitHub ✎
(PHP 8 >= 8.5.0)
Deserialize the data parameter into a Url object
Description
Uri\WhatWg\Url::__unserialize(array $data): void
Deserializes a data parameter into a Uri\WhatWg\Url object.
Parameters
dataThe serialized data as an
array.
Return Values
Void
Errors/Exceptions
If the __unserialize method is called on an already existing URL, Error is thrown.
InvalidUriException
See Also
Uri\WhatWg\Url::__serializeUri\Rfc3986\Uri::__unserialize