src/Uuid.php
public function unserialize($serialized)
    {
        /** @var \Ramsey\Uuid\Uuid $uuid */
        $uuid = self::fromString($serialized);
        $this->codec = $uuid->codec;
        $this->numberConverter = $uuid->getNumberConverter();
        $this->fields = $uuid->fields;
    }
public function unserialize($serialized)
    {
        /** @var \Ramsey\Uuid\Uuid $uuid */
        $uuid = self::fromString($serialized);
        $this->codec = $uuid->codec;
        $this->numberConverter = $uuid->getNumberConverter();
        $this->fields = $uuid->fields;
    }
public function unserialize ( $ serialized ) { /** @var \Ramsey\Uuid\Uuid $uuid */ $ uuid = self :: fromString ( $ serialized ) ; $ this -> codec = $ uuid -> codec ; $ this -> numberConverter = $ uuid -> getNumberConverter ( ) ; $ this -> fields = $ uuid -> fields ; }
Re-constructs the object from its serialized form.

@param string $serialized
@link http://php.net/manual/en/class.serializable.php
@throws \Ramsey\Uuid\Exception\InvalidUuidStringException
Re - constructs the object from its serialized form .