public static function label(
        string $label, 
        string $for, 
        array $attributes = []
    ) : string
    {
        $preAttributesLabel = [
            "for" => $for,
        ];
        $attributesLabel = array_merge($preAttributesLabel, $attributes);
        return self::tag("label", $label, $attributesLabel);
    }
public static function label(
        string $label, 
        string $for, 
        array $attributes = []
    ) : string
    {
        $preAttributesLabel = [
            "for" => $for,
        ];
        $attributesLabel = array_merge($preAttributesLabel, $attributes);
        return self::tag("label", $label, $attributesLabel);
    }
public static function label ( string $ label , string $ for , array $ attributes = [ ] ) : string { $ preAttributesLabel = [ "for" => $ for , ] ; $ attributesLabel = array_merge ( $ preAttributesLabel , $ attributes ) ; return self :: tag ( "label" , $ label , $ attributesLabel ) ; }
Creates label Tag

@param string $label content of tag
@param string $for for attribute (always needed)
@param array $attributes further attributes
@return string HTML Code
Creates label Tag