Elcodi\Store\UserBundle\Form\Type\PasswordRememberType::buildForm PHP Méthode

buildForm() public méthode

Buildform function
public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface the formBuilder
$options array the options for this form
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->setMethod('POST')->add('email', 'email', ['required' => true, 'label' => 'store.recovery.form.fields.email.label'])->add('send', 'submit', ['label' => 'store.recovery.form.fields.remember.label']);
    }