pQuery\TextNode::__construct PHP Метод

__construct() публичный Метод

Class constructor
public __construct ( DomNode $parent, string $text = '' )
$parent DomNode
$text string
    function __construct($parent, $text = '')
    {
        $this->parent = $parent;
        $this->text = $text;
    }