Hi,
I have a Contract entity and a Files entity. Each contract will have multiple files so I have a OneToMany relation.
I'm trying to create a directory namer based on the parent entity (Contract) but when adding a new file to an entity, in the namer class al
properties are empty. $contract = $object->getContract(); <= This happen to be null
Hi, I have a Contract entity and a Files entity. Each contract will have multiple files so I have a OneToMany relation.
I'm trying to create a directory namer based on the parent entity (Contract) but when adding a new file to an entity, in the namer class al properties are empty.
$contract = $object->getContract(); <= This happen to be null
Is there any way to solve this?