public function unserialize($serialized)
    {
        $serialized = @unserialize($serialized);
        if (!is_array($serialized)) {
            throw new \InvalidArgumentException(
                'Invalid argument 1, arguments must be serialized of array.',
                E_USER_ERROR
            );
        }

        $this->replace($serialized);
    }
public function unserialize($serialized)
    {
        $serialized = @unserialize($serialized);
        if (!is_array($serialized)) {
            throw new \InvalidArgumentException(
                'Invalid argument 1, arguments must be serialized of array.',
                E_USER_ERROR
            );
        }

        $this->replace($serialized);
    }
public function unserialize ( $ serialized ) { $ serialized = @ unserialize ( $ serialized ) ; if ( ! is_array ( $ serialized ) ) { throw new \ InvalidArgumentException ( 'Invalid argument 1, arguments must be serialized of array.' , E_USER_ERROR ) ; } $ this -> replace ( $ serialized ) ; }
Un-serialize Magic Method

@param string $serialized
Un - serialize Magic Method