- $resolver->setDefaults(['donate' => true, 'link' => true, 'phone' => true, 'profile' => true]);
+ $resolver->setDefaults(['city' => true, 'country' => true, 'country_class' => 'Rapsys\AirBundle\Entity\Country', 'country_default' => null, 'country_favorites' => [], 'phone' => true, 'pseudonym' => true, 'zipcode' => true]);
+
+ //Add extra city option
+ $resolver->setAllowedTypes('city', 'boolean');
+
+ //Add extra country option
+ $resolver->setAllowedTypes('country', 'boolean');