public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('url')->add('vendorAlias', null, ['required' => true]); }