ZF-9317: remove 'final' attribute on Zend_Rest_Client methods

Issue Type: Improvement Created: 2010-03-03T15:43:50.000+0000 Last Updated: 2011-07-28T09:19:03.000+0000 Status: Resolved Fix version(s): - 1.11.10 (04/Aug/11)

Reporter: Remy Damour (remy215) Assignee: Bart McLeod ( Tags: - Zend_Rest_Client

Related issues: Attachments: - Client.php.diff


Quite a lot of Zend_Rest_Client methods are final, which makes it impossible to subclass.

It's a real limitation for ZF as a framework not to be able to easily subclass Zend_Rest_Client. It would be great if 'final' attribute got removed.

Strangely enough, Zend_Rest_Server has no final method. Am I missing something?

Enclosed is the diff realized against ZF 1.10.1

Regards, Remy


Posted by Remy Damour (remy215) on 2010-03-03T15:45:19.000+0000

corresponding diff file against v1.10.1 simply remove all 'final ' statements

Posted by Bart McLeod ( on 2011-07-21T09:27:46.000+0000

Added patch against trunk, likely also valid for 1.11 branch. This patch also fixes the issue that you can't sent data with a delete request.

Posted by Bart McLeod ( on 2011-07-23T17:49:54.000+0000

New patch, I missed two final declarations in the original patch

Posted by Bart McLeod ( on 2011-07-28T09:18:25.000+0000

Committed to trunk

Have you found an issue?

See the Overview section for more details.


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

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