src/Reform/Helper/Html.php
public static function label($for, $content = null, array $attributes = array())
    {
        $attributes = array_merge(array('for' => $for), $attributes);

        return self::tag('label', $content, $attributes);
    }
public static function label($for, $content = null, array $attributes = array())
    {
        $attributes = array_merge(array('for' => $for), $attributes);

        return self::tag('label', $content, $attributes);
    }
public static function label ( $ for , $ content = null , array $ attributes = array ( ) ) { $ attributes = array_merge ( array ( 'for' => $ for ) , $ attributes ) ; return self :: tag ( 'label' , $ content , $ attributes ) ; }
Create a label tag.

@param  string $for        The name of the input the label is for
@param  string $content    The content of the label, if any
@param  array  $attributes An array of html attributes
@return string The label tag
Create a label tag .