Issues

ZF-2216: Change the scope of public properties when applicable

Issue Type: Improvement Created: 2007-11-18T10:46:06.000+0000 Last Updated: 2008-02-26T12:56:06.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Simone Carletti (weppos) Assignee: Simone Carletti (weppos) Tags: - Zend_Service_Technorati

Related issues: Attachments:

Description

From proposal page:

{quote} Objects used to encapsulate responses are currently using public properties, but these do not fit well for read-only values, since they can be modified. Instead, such properties should be made accessible through getProperty() and setProperty($value) methods, as applicable. As with public properties, this approach also enables automatic code completion for PHP editors that support it. {quote}

Comments

Posted by Simone Carletti (weppos) on 2007-12-21T10:36:44.000+0000

The following classes have to be updated: * Zend_Service_Technorati_CosmosResult * Zend_Service_Technorati_ResultSet

Posted by Simone Carletti (weppos) on 2007-12-21T11:03:14.000+0000

Fixed in r7224.

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