public function unserialize($serialized)
    {
        $this->lib = PhoneNumberUtil::getInstance();
        $this->number = $serialized;
        $this->country = $this->lib->getRegionCodeForNumber($this->getPhoneNumberInstance());
    }
public function unserialize($serialized)
    {
        $this->lib = PhoneNumberUtil::getInstance();
        $this->number = $serialized;
        $this->country = $this->lib->getRegionCodeForNumber($this->getPhoneNumberInstance());
    }
public function unserialize ( $ serialized ) { $ this -> lib = PhoneNumberUtil :: getInstance ( ) ; $ this -> number = $ serialized ; $ this -> country = $ this -> lib -> getRegionCodeForNumber ( $ this -> getPhoneNumberInstance ( ) ) ; }
Reconstructs the phone instance from a string representation.

@param string $serialized
Reconstructs the phone instance from a string representation .