Uri\WhatWg\Url::__unserialize
(PHP 8 >= 8.5.0)
Uri\WhatWg\Url::__unserialize — Deserialize the array from the data parameter into a Url object
Description
public function Uri\WhatWg\Url::__unserialize(
array $data):
void
Deserializes the array from the data parameter into a Uri\WhatWg\Url 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 URL, Error
is thrown.
If the resulting URI is invalid, a Uri\InvalidUriException is thrown.