RE: [PEAR-DEV] package-private classes?
| From: | Lukas Feiler | Date: | Fri, 28 Sep 2007 23:03:27 +0000 |
| Subject: | RE: [PEAR-DEV] package-private classes? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48194@lists.php.net to get a copy of this message | ||
Hi,
Joe Stump wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > I can't find anything about package-private classes in the coding
> > standards.
> > Besides making the class "@access private", is there anything else?
>
> Can this even be enforced in PHP? An interesting question :)
>
I don't think there's any way to enforce it.
I would suggest that we deal with it the same way we dealt with private
methods in PHP4:
if it's "@access private", it can be changed without a BC break
>
> - --Joe
>
Regards,
Lukas