I am working in a web application developed by PHP framework Symfony 4. I am not really familiar with Doctrine. So i need help in this case. In existing database, there is a entity called "type". Now from one field from Form data directly saved in "type". I need to store the data from 2 ..
I am setting new entity in my form and I have field ‘created’ which I want to use to set expiration time automatically. I want for expired field to be set on true 30 minutes after entity is set. I have some logic created but I think it won’t work. My part of the code: ..