Hi, is there any tutorial about QueryObject in doctine? I've found just this article: https://filip-prochazka.com/…o-dava-smysl where Filip says that he got rid of EM dependency thanks to QO. But he uses it this way in his example: $result = $em->getRepository(‘Permission’)->fetch(new RolePermissionsQuery($role)); which means that the business logic still need EntityRepository. Am I missing something, or how are QOs helpful then?


You must first log in to participate in this discussion