Service Manager

ZF2 – Service Manager – Zend\ServiceManager

The Service Manager is ZF2 is a type of intelligent registry where you pass in a string and receive an instance of the class that was defined in your application. For example, if you want the config service you would make the following call:
Zend\ServiceManager\ServiceManager implements the ServiceLocatorInterface interface.
The interface prescribes two …