pQuery\DomNode::html PHP Method

html() public method

Return html code of node
See also: toString()
public html ( string | null $value = null ) : string
$value string | null The value to set or null to get the value.
return string
    function html($value = null)
    {
        if ($value !== null) {
            $this->setInnerText($value);
        }
        return $this->getInnerText();
    }
DomNode