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
Deserializes the array from the data parameter into a Uri\WhatWg\Url object.
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.
See Also
- Uri\WhatWg\Url::__serialize() - Serialize the Url object
- Uri\Rfc3986\Uri::__unserialize() - Deserialize the data parameter into a Uri object
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
