src/PHPHtmlParser/Dom/Tag.php
public function setAttributes(array $attr)
    {
        foreach ($attr as $key => $value) {
            $this->setAttribute($key, $value);
        }

        return $this;
    }
public function setAttributes(array $attr)
    {
        foreach ($attr as $key => $value) {
            $this->setAttribute($key, $value);
        }

        return $this;
    }
public function setAttributes ( array $ attr ) { foreach ( $ attr as $ key => $ value ) { $ this -> setAttribute ( $ key , $ value ) ; } return $ this ; }
Sets the attributes for this tag

@param array $attr
@return $this
Sets the attributes for this tag