public unserialize ( string $serialized ) : void | ||
$serialized | string | The string representation of the object. |
Résultat | void |
public function unserialize($serialized)
{
$vars = unserialize($serialized);
$vars['adviceMethod'] = self::getDeclareErrorAdvice();
foreach ($vars as $key => $value) {
$this->{$key} = $value;
}
}