ZF-6527: Enable the Zend_Rest_Server's namespace support
Description
Due to the consistency between Zend_Xmlrpc_Server and Zend_Rest_Server. I simply added the namespace support in Zend_Rest_Server.
public function setClass($classname, $namespace = '', $argv = array())
{
$this->_args = $argv;
foreach ($this->_reflection->reflectClass($classname, $argv)->getMethods() as $method) {
$this->_functions[$namespace.".".$method->getName()] = $method;
}
}
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2009-05-05T05:28:39.000+0000
Actually, we plan to deprecate Zend_Rest_Server in favor of an MVC-based solution, and are accepting no new features to it at this time.