Zend Framwork 2 : How to use Service Manager in controller plugin.

 $this->dbAdapter = $this->getController()->getServiceLocator()->get('ZendDbAdapterAdapter');

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

DMCA.com Protection Status