public function removeAttr($name)
    {
        $remove_names = \is_array($name) ? $name : explode(' ', $name);

        foreach ($this->getElements() as $node) {
            foreach ($remove_names as $remove_name) {
                $node->removeAttribute($remove_name);
            }
        }

        return $this;
    }
public function removeAttr($name)
    {
        $remove_names = \is_array($name) ? $name : explode(' ', $name);

        foreach ($this->getElements() as $node) {
            foreach ($remove_names as $remove_name) {
                $node->removeAttribute($remove_name);
            }
        }

        return $this;
    }
public function removeAttr ( $ name ) { $ remove_names = \ is_array ( $ name ) ? $ name : explode ( ' ' , $ name ) ; foreach ( $ this -> getElements ( ) as $ node ) { foreach ( $ remove_names as $ remove_name ) { $ node -> removeAttribute ( $ remove_name ) ; } } return $ this ; }
Remove an attribute from each element in the set of matched elements.
Name can be a space-separated list of attributes.

@param string|string[] $name

@return $this
Remove an attribute from each element in the set of matched elements . Name can be a space - separated list of attributes .