src/Reform/Helper/Html.php
public static function addToAttributeArray(array $attributes, $name, $addition)
    {
        $attribute = isset($attributes[$name]) ? $attributes[$name] : '';
        $attributes[$name] = self::addToAttribute($attribute, $addition);

        return $attributes;
    }
public static function addToAttributeArray(array $attributes, $name, $addition)
    {
        $attribute = isset($attributes[$name]) ? $attributes[$name] : '';
        $attributes[$name] = self::addToAttribute($attribute, $addition);

        return $attributes;
    }
public static function addToAttributeArray ( array $ attributes , $ name , $ addition ) { $ attribute = isset ( $ attributes [ $ name ] ) ? $ attributes [ $ name ] : '' ; $ attributes [ $ name ] = self :: addToAttribute ( $ attribute , $ addition ) ; return $ attributes ; }
Add to the value of an attribute in an array of attributes. The
attribute will be created if it doesn't exist.

@param array  $attributes The attributes
@param string $name       The name of the attribute to add to
@param string $addition   The text to add
Add to the value of an attribute in an array of attributes . The attribute will be created if it doesn t exist .