src/Ciconia/Common/Tag.php
public function setAttribute($attribute, $value = null)
    {
        $this->attributes->set($attribute, $value);

        return $this;
    }
public function setAttribute($attribute, $value = null)
    {
        $this->attributes->set($attribute, $value);

        return $this;
    }
Sets an attribute

@param string $attribute The name of an attribute
@param string $value     [optional] The value of an attribute

@return Tag