I am using the knp paginator bundle in my system in Symfony 4, for which I need to perform queries using dql. I have 5 entities, House, Package, Day, Actividade and Image.
The houses have a direct relationship with the images. Each House has many images. With this I have no problems, but on the other hand: Each Pack has many Days Every day has many Activities Each Activity has many Images. How do I get the result of a DQL query with the packages and their respective images? Thanks in advance.