Re: package-private classes?
| From: | David Coallier | Date: | Sat, 29 Sep 2007 11:19:01 +0000 |
| Subject: | Re: package-private classes? | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48197@lists.php.net to get a copy of this message | ||
On 9/28/07, Joe Stump <joe@joestump.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > I don't think there's any way to enforce it.
>
> I didn't think so. Just asking.
>
> > 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
>
> No arguments here. Just pondering :)
>
> - --Joe
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFG/Yjyh0MUGpYY9OQRAuGRAKCg22mJ+KQnkm5RyYlYLeaII2EoKgCgrVcB
> ZlV5J9BKXxlpASflPnQHDMs=
> =ZxbZ
> -----END PGP SIGNATURE-----
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I have asked about that particular problem and spoke to a few
internals about that and most don't seem to want that in PHP.
We are still at that level:
Introduce concept of "strict classes" that do not permit dynamic
property creation
--
David Coallier,
Founder & Software Architect,
Agora Production (http://agoraproduction.com)
51.42.06.70.18