On Sat, Nov 19, 2011 at 02:46, Clint M Priest <cpri...@zerocue.com> wrote:
> What would everyone think about multiple levels of visibility for 
> getters/setters?
>
> class Sample {
>
> public $Variable {
>                public get { return "Public"; }
>                protected get { return "Protected"; }
>                private get { return "Private"; }
>
>                public set { ... }
>                private set { ... }
> }
> }

No please.
That will create a major WTF factor.

-Hannes

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

Reply via email to