Answer the question
In order to leave comments, you need to log in
Entity in bunlde how to implement relation without dependencies?
Hello everyone, I need to write a bundle to create a personal Dashboard (a). Bundle will be used in several projects. But in all projects, the user class looks and is called differently, and the namespace user class is different everywhere. How can you implement entity with relation to user class without hard dependencies? I saw the possibility with ResolveTargetEntityListener, but is there any other possibility? And one more question, in the Symfony documentation in the Best practices for reusable bundles -> Directory Structure section it says “Doctrine orm entities (when not using annptations)” you can not use annotations for entities in a bundle?
Answer the question
In order to leave comments, you need to log in
Do you need a connection to the levels of the associations mapping doctrine?
Something tells me that in fact - no;
and enough communication at the id (uuid) level between entities
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question