public function unserialize($serialized) : void
    {
        $doc = DOMDocumentFactory::fromString(unserialize($serialized));
        $this->xml = $doc->documentElement;
        $this->setLocalName($this->xml->localName);
        $this->setNamespaceURI($this->xml->namespaceURI);
    }
public function unserialize($serialized) : void
    {
        $doc = DOMDocumentFactory::fromString(unserialize($serialized));
        $this->xml = $doc->documentElement;
        $this->setLocalName($this->xml->localName);
        $this->setNamespaceURI($this->xml->namespaceURI);
    }
public function unserialize ( $ serialized ) : void { $ doc = DOMDocumentFactory :: fromString ( unserialize ( $ serialized ) ) ; $ this -> xml = $ doc -> documentElement ; $ this -> setLocalName ( $ this -> xml -> localName ) ; $ this -> setNamespaceURI ( $ this -> xml -> namespaceURI ) ; }
Un-serialize this XML chunk.

@param string $serialized The serialized chunk.
@return void

Type hint not possible due to upstream method signature
Un - serialize this XML chunk .