src/NamedNodeMap.php
/**
     * Removes the attribute with the given qualified name from the element's attribute list.
     *
     * @see https://dom.spec.whatwg.org/#dom-namednodemap-removenameditem
     *
     * @throws \Rowbot\DOM\Exception\NotFoundError
     */
Removes the attribute with the given qualified name from the element's attribute list.


Removes the attribute with the given qualified name from the element ' s attribute list .
public function removeNamedItem(string $qualifiedName): Attr
    {
        $attr = $this->element->getAttributeList()->removeAttrByName($qualifiedName);
        if (!$attr) {
            throw new NotFoundError();
        }
        return $attr;
    }
public function removeNamedItem ( string $ qualifiedName ) : Attr { $ attr = $ this -> element -> getAttributeList ( ) -> removeAttrByName ( $ qualifiedName ) ; if ( ! $ attr ) { throw new NotFoundError ( ) ; } return $ attr ; }
Removes the attribute with the given qualified name from the element's attribute list.
Removes the attribute with the given qualified name from the element ' s attribute list .