zendframework/zf2 — pull request #4129 by BinaryKitten (2013-03-27 16:39:43+00:00)
Title: Update to ServiceManager to provide error messages

When using any of the Plugin Managers, these all use the Abstract for get. Unfortunately this uses __METHOD__ to display when it can't find a service,

This leads to major confusion as the service manager may have that service set, but the child or plugin manager might not.

This updates to replace the Service manager name with the called class name so that instead of

> Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for ServiceRequested

you get

> Zend\Form\FormElementManager::get was unable to fetch or create an instance for ServiceRequested