src/AbstractFHIRObject.php
public function unserialize($serialized)
    {
        foreach(unserialize($serialized) as $k=>$v)
        {
            $this->$k = $v;
        }
    }
public function unserialize($serialized)
    {
        foreach(unserialize($serialized) as $k=>$v)
        {
            $this->$k = $v;
        }
    }
(PHP 5 >= 5.1.0)
Constructs the object
@link http://php.net/manual/en/serializable.unserialize.php
@param string $serialized The string representation of the object.
@return void