HeadersType

Extends \Symfony\Component\Form\AbstractType

Class HeadersType extends AbstractType with FormBuilderInterface and OptionsResolver

package

App\Form

Methods

Returns an array of options to be bassed to the FormBuilder

buildForm(\Symfony\Component\Form\FormBuilderInterface $builder, array $options) 

Arguments

$builder

\Symfony\Component\Form\FormBuilderInterface

$options

array

Configure Form Options and set CSRF token

configureOptions(\Symfony\Component\OptionsResolver\OptionsResolver $resolver) 

Arguments

$resolver

\Symfony\Component\OptionsResolver\OptionsResolver