Renders the label of the given view.
public label ( Symfony\Component\Form\FormView $view, string $label = null, array $variables = [] ) : string | ||
$view | Symfony\Component\Form\FormView | The view for which to render the label |
$label | string | The label |
$variables | array | Additional variables passed to the template |
return | string | The html markup |