src/PHPHtmlParser/Dom/AbstractNode.php
public function removeAttribute(string $key): void
    {
        $this->tag->removeAttribute($key);

        //clear any cache
        $this->clear();
    }
public function removeAttribute(string $key): void
    {
        $this->tag->removeAttribute($key);

        //clear any cache
        $this->clear();
    }
public function removeAttribute ( string $ key ) : void { $ this -> tag -> removeAttribute ( $ key ) ; //clear any cache $ this -> clear ( ) ; }
A wrapper method that simply calls the removeAttribute method
on the tag of this node.

@param string $key
@return void
A wrapper method that simply calls the removeAttribute method on the tag of this node .