This change assumes the configuration is named the same as the connection, but actually it's possible to specify different configuration and connection names in the document manager configuration.

The following example configuration will throw a ServiceNotFoundException when you try to instantiate the document manager called MyDM, with the error message "Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for doctrine.configuration.MyConnection"