public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('name', 'text', ['label' => 'name'])->add('role', 'text', ['label' => 'role.singular']); }