Skip to content
Advertisement

Tag: cycle

Getting the Linked Model Correctly in the Cycle ORM

There was a problem: The project uses Cycle ORM, there are 2 Entities. I am trying to link them using annotation like so: But when accessing $repository->findOne()->getCourt() I get: But I want to get Entity. How can I do this correctly? The option works if you add the annotations fetch = “eager” to the parameters, but then it will be

Advertisement