PUGXMultiUserBundle
PUGXMultiUserBundle copied to clipboard
Create form class from service container
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
What's @form.type.architect?
It's my from type creating in service container:
form.type.architect: class: TogeteeBundle\Form\RegistrationArchitectType arguments: [ '@router' ] tags: - { name: form.type }