ZF-7802: Cannot pass an object to setClass()
Description
Per the Interface definition and the documentation, setClass() allows an object to be supplied. Passing an object, however, gives the following error:
Zend_Soap_Server_Exception: Invalid class argument (object) in /usr/share/zend-framework/ZendFramework-1.9.2-minimal/library/Zend/Soap/Server.php on line 560
Comments
Posted by Benjamin Eberlei (beberlei) on 2009-09-09T00:43:35.000+0000
There is a function "setObject" just for this, it seems the docs are wrong on this issue then.
Posted by Benjamin Eberlei (beberlei) on 2009-09-09T10:39:46.000+0000
Fixed the docblock