title: doctrine deny updates on related records from the main record
body: <p>I have this situation in doctrine: Invoice with its related InvoiceItems. I'd like to deny changes on InvoiceItems if the related Invoice is closed, maybe in the preSave method of the Invoice. How should I do it?</p>