Symfony - Override ProfileForm - option 'class' not exists
问题 I trying to override FOSUserBundle edit form for profile, so I do somethink like this: config.yml fos_user: db_driver: orm firewall_name: main user_class: crmBundle\Entity\User profile: form: type: crmBundle\Form\ProfileFormType services.yml services: app.form.profile: class: crmBundle\Form\ProfileFormType tags: - { name: form.type, alias: crm_user_profile } ProfileFormType.php namespace crmBundle\Form; use FOS\UserBundle\Util\LegacyFormHelper; use Symfony\Component\Form\AbstractType; use