Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper::label
Renders the label of the given view.
Signature
public function label(FormView
$view,
[string
$label = null,
array
$variables] )
Parameters
$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
Returns
- string
- The HTML markup