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