zendframework/zf2 — pull request #706 by rafalwrzeszcz (2012-01-06 15:53:02+00:00)
Title: Allow to pass object instances to \Zend\Soap\Server::setClass().

According to `$class` parameter docblock in `Zend\Server\Server' interface this can be either a class name string or existing object instance and both `Zend\XmlRpc\Server` and `Zend\Json\Server\Server` implement `setClass()` this way, only SOAP server doesn't support such use case.

This fix allows to have same flow for all servers.