Symfony problem when need to save file before saving an Entity

afogafzij

New Member
I have an Entity on Symfony that has also a file "attached" to it.I want to save the file with the id of the created Entity.The problem is, that I will know the Entity's ID only after doing "dosave()" on thatEntity form.Is there any way to save the file after doing the "dosave()" but still write the codeas an override for the Entity's form code?
 
Back
Top