Namespace access modifiers
| From: | Ralph Schindler | Date: | Wed, 12 Dec 2007 23:19:12 +0000 |
| Subject: | Namespace access modifiers | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-33981@lists.php.net to get a copy of this message | ||
Since everyone is in the "namespace" frame of mind, is there a possibility of a "namespace" access modifier?
The way I envision this working is that if for example:
namespace Foo;
class Bar {
nsprotected $_someProperty = null;
}
(or some other equivalent grammer)
Would allow the property Foo::Bar::$_someProperty to be accessed from any class that has implemented a class from the Foo namespace.
Reaching for straws or is this a possibility?
-ralph