removeAttribute() public method

Removes an attribute from this tag.
public removeAttribute ( $key ) : void
$key
return void
 /**
  * A wrapper method that simply calls the removeAttribute method
  * on the tag of this node.
  *
  * @param string $key
  * @return void
  */
 public function removeAttribute($key)
 {
     $this->tag->removeAttribute($key);
 }