I have a Symfony2's form with two fields: "A" and "B". I want to store them using Doctrine2 in two different tables.
I've already seen Doctrine - insert multiple rows with just one save() but it's not my case.
How can I do it?
I have a Symfony2's form with two fields: "A" and "B". I want to store them using Doctrine2 in two different tables.
I've already seen Doctrine - insert multiple rows with just one save() but it's not my case.
How can I do it?