public function html()
    {
        if ($this::$callback !== null) {
            call_user_func($this::$callback, $this);
        }

        return trim($this->document->saveHTML($this->document->documentElement));
    }
public function html()
    {
        if ($this::$callback !== null) {
            call_user_func($this::$callback, $this);
        }

        return trim($this->document->saveHTML($this->document->documentElement));
    }
public function html ( ) { if ( $ this :: $ callback !== null ) { call_user_func ( $ this :: $ callback , $ this ) ; } return trim ( $ this -> document -> saveHTML ( $ this -> document -> documentElement ) ) ; }
Get dom node's outer html

@return string
Get dom node s outer html