Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension::buildForm
Adds a CSRF field to the form when the CSRF protection is enabled.
Signature
public function buildForm(FormBuilderInterface
$builder,
array
$options )
Parameters
$builder
— Symfony\Component\Form\FormBuilderInterface- The form builder
$options
— array- The options