|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-01-21 00:18 UTC] tysonlt at SPAMSUCKS dot hotmail dot com
ok, I know that class support is only a courtesy, and it's not supposed to be complete, etc etc. BUT... would it be possible to allow us to declare class methods as private? This is the biggest thing missing to me, apart from overloading which is being addressed. Unless of course it would hugely affect performance. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 26 03:00:01 2025 UTC |
A better OO support will come with Zend 2.0 (i.e. with the next major release of PHP). have a look at zend.com, there's some documentation about it there. The only thing you can do NOW is to add a comment which suggests to the user not to use this variable/function: /* private: moo moo */ function moo() { } Kind Regards, Daniel Lorch