public function addAttributes(array $attributes)
    {
        foreach ($attributes as $attribute => $value) {
            $this->addAttribute($attribute, $value);
        }

        return $this;
    }
public function addAttributes(array $attributes)
    {
        foreach ($attributes as $attribute => $value) {
            $this->addAttribute($attribute, $value);
        }

        return $this;
    }
public function addAttributes ( array $ attributes ) { foreach ( $ attributes as $ attribute => $ value ) { $ this -> addAttribute ( $ attribute , $ value ) ; } return $ this ; }
Adds attribute collection

@param array $attributes
@return \Krystal\Form\NodeElement
Adds attribute collection