Implementing ServiceLocatorAwareInterface dependency for forward() class in a ZF2 service
问题 EDITED (Code is updated and working for others) For the overall idea of what's happening. I'm trying to access post data from the view in the controller, without refreshing the page. To do this I am executing the page controller by using a ViewHelper to call the Service below which then forwards back to the controller; afterwards I can manage the posted data in the page controller. Everything works except the last step which is the forward() , I receive the error Call to undefined method