Uri\Rfc3986\Uri::__unserialize

Deserialize the data parameter into a Uri object

説明

public void Uri\Rfc3986\Uri::__unserialize(array $data)

Deserializes a data parameter into a Uri\Rfc3986\Uri object.

パラメータ

data
The serialized data as an array.

戻り値

値を返しません。

エラー / 例外

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.

参考

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