src/Writer.php
private function createText(\DOMDocument $dom, \DOMNode $node, $value)
    {
        $text = $dom->createTextNode($value);
        $node->appendChild($text);
    }
private function createText(\DOMDocument $dom, \DOMNode $node, $value)
    {
        $text = $dom->createTextNode($value);
        $node->appendChild($text);
    }
private function createText ( \ DOMDocument $ dom , \ DOMNode $ node , $ value ) { $ text = $ dom -> createTextNode ( $ value ) ; $ node -> appendChild ( $ text ) ; }
Creates a text node on a DOMNode.

@param DOMNode $node
@param string  $value

@return bool
Creates a text node on a DOMNode .