New access modifier

From: Date: Sun, 20 Sep 2009 01:25:31 +0000
Subject: New access modifier
Groups: php.internals 
Request: Send a blank email to internals+get-45620@lists.php.net to get a copy of this message
Request for comments/thoughts: A new access modifier for methods (members as well, I guess) to allow access only from certain classes/interfaces. Call it whatever (group, trusted, party, etc), but perhaps something like this: group function myMethod($arg) accessible MyInterface MyClass {} Or group(MyInterface MyClass) function myMethod() {} Chris Trahey Web Applications Developer Database Administrator College Station I.S.D.

« previous php.internals (#45620) next »