src/PHPHtmlParser/Dom/AbstractNode.php
public function propagateEncoding(Encode $encode)
    {
        $this->encode = $encode;
        $this->tag->setEncoding($encode);
    }
public function propagateEncoding(Encode $encode)
    {
        $this->encode = $encode;
        $this->tag->setEncoding($encode);
    }
public function propagateEncoding ( Encode $ encode ) { $ this -> encode = $ encode ; $ this -> tag -> setEncoding ( $ encode ) ; }
Sets the encoding class to this node.

@param Encode $encode
@return void
Sets the encoding class to this node .