Uri\WhatWg\Url::__unserialize

Deserialize the data parameter into a Url object

説明

public void Uri\WhatWg\Url::__unserialize(array $data)

Deserializes a data parameter into a Uri\WhatWg\Url object.

パラメータ

data
The serialized data as an array.

戻り値

値を返しません。

エラー / 例外

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.

参考

  • Uri\WhatWg\Url::__serialize
  • Uri\Rfc3986\Uri::__unserialize