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.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to