ZF-7802: Cannot pass an object to setClass()

Issue Type: Docs: Problem Created: 2009-09-08T13:59:21.000+0000 Last Updated: 2009-09-09T10:39:47.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Justin Hendrickson (toxygene) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Soap_Server

Related issues: Attachments:


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


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

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.