package visibility
| From: | Lukas Smith | Date: | Mon, 21 Feb 2005 21:58:19 +0000 |
| Subject: | package visibility | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-36301@lists.php.net to get a copy of this message | ||
Hi,
we currently have private, protected and public visibility for properties and methods. however since we requently make use of container or will be increasingly emulating multiple inheritance via __call() I propose we also add "package" visibility as uml2 features.
the idea here is that the given property/method should only be called by code that is part of the given package and not by the user.
what do others think?
in true uml style i would like to leave the discussion of how to handle the syntax of package visibility to a possible later discussion.
regards,
Lukas
PS: uml sucks :-)