Skip to content

Tag: php

Symfony 5.3 custom FileLoader not working

I want to run a multi tenant Symfony (version 5.3) applications and for it I want to implement a custom translation file loader. According to the Symfony documentation it should be very easy: https://symfony.com/doc/current/reference/dic_tags.html#dic-tags-translation-loader However, it is not working for me.…

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&#…