PUGX / PUGXMultiUserBundle

An extension for FOSUserBundle to handle users of different types. Compatible with Doctrine ORM.
163 stars 96 forks source link

Create form class from service container #145

Open padalec opened 7 years ago

padalec commented 7 years ago

Hi there is the way to inject form type class from container? When I try to do this by: form: type: '@form.type.investor' I got error

UserDiscriminator, error getting form type : "@form.type.architect" not found

garak commented 7 years ago

What's @form.type.architect?

padalec commented 7 years ago

It's my from type creating in service container: ` form.type.architect: class: TogeteeBundle\Form\RegistrationArchitectType arguments: [ '@router' ] tags: