Issues

ZF-6527: Enable the Zend_Rest_Server's namespace support

Issue Type: Patch Created: 2009-05-04T18:58:31.000+0000 Last Updated: 2009-05-05T05:28:57.000+0000 Status: Resolved Fix version(s): Reporter: Lin-Chieh Shangkuan (ericsk) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Rest_Server

Related issues: Attachments:

Description

Due to the consistency between Zend_Xmlrpc_Server and Zend_Rest_Server. I simply added the namespace support in Zend_Rest_Server.

<pre class="highlight">
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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts