Excuse me, I have a question about how to insert data in two tables with symfony. The fact is that I have a user table and a person table with a 1 to 1 ratio so to insert a user we need a person.
someone who can guide me on the insertion of data with symfony. I have already created my entities. but now my question is how would the code in the controller to make this insertion. and how it is done to bring the data of a user and his associated person to show them in front end Is a view necessary? This I have already done in Java. But in PHP I'm really new and more with symfony. The insertions that only entail a class in symfony do not present a problem to me but here if I really run out of ideas. Thanks for your answers