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

        return $attributes;
    }