I created a table using Doctrine, Zend abigility and php. I have created the Entitiy, Repositry, Resource, Resource Factory, and the dispature. However, when I do the CRUD functions . I am not able to get the result "$oQueryBuilder->getQuery()->getResult()" as an Entity object , I am only able to get it as an arrav "$oQueryBuilder->getQuery()->getArrayResult()"...I want to get the query as an entity object, so what could be the solution?!! for more information: I am using serealization in array as Hydrator Service in Zend apigility and HalJson as a Content Negotiation Selector .. we are also using vueJS as a frontend.
Asked
Active
Viewed 112 times
1 Answers
0
Please check your module.config.php files related to the respective entity maybe check the path as well. I hope that will help:)

Umer Mughal
- 16
- 3
-
Thanks a lot, that solved my Problem! :) the problem was in the module.config.php... I had to point to the entity class instead of the given path by apigility! – Shuhd Atiff Jun 18 '20 at 15:27
-
happy to help:) – Umer Mughal Jun 18 '20 at 15:28