src/Converter/Xml.php
public function convert(Traversable $traversable)
    {
        $name = $this->getNodeName($traversable);
        $childNode = $this->document->createElement($name);
        $this->document->appendChild($childNode);
        $this->parseNode($traversable, $childNode);

        return $this->document->saveXml();
    }
public function convert(Traversable $traversable)
    {
        $name = $this->getNodeName($traversable);
        $childNode = $this->document->createElement($name);
        $this->document->appendChild($childNode);
        $this->parseNode($traversable, $childNode);

        return $this->document->saveXml();
    }
{@inheritdoc}