so:
$server = new Zend_Json_Server();
$server->setClass('MyClass', 'mynamespace');
When I try to get the smd for this, Zend_Reflection throws the following
error about my class:
Zend_Server_Reflection_Exception Object
"Variable number of arguments is not supported for services (except optional
parameters). Number of function arguments must currespond to actual number
of arguments described in a docblock."
I understand exactly what this means and have gotten this code to work using
some less complex classes - however, on the class I am attempting to expose
right now, I just cannot find where I might have a discrepancy in my
docblock.
It would be extremely usefull if the Zend_Server_Reflection threw an
exception that could help pinpoint which method it was having problems
with... Has anyone had a similar experience?
Extra points to whomever gets the reference in the subject... :P
--
View this message in context: http://www.nabble.com/Zend_Server_Reflection_Exception-be-more-specific-with-your-feedback...-tp22807177p22807177.html
Sent from the Zend Web Services mailing list archive at Nabble.com.
没有评论:
发表评论