Re: [RFC] Accessors : read-only / write-only keywords
| From: | Levi Morrison | Date: | Sun, 21 Oct 2012 15:25:51 +0000 |
| Subject: | Re: [RFC] Accessors : read-only / write-only keywords | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63588@lists.php.net to get a copy of this message | ||
> If for some reason you need to enforce that nobody inherits it
> and sets the property, then declaring a setter and issuing an
> error or exception would suffice.
I meant to say declaring a
private or final setter. Noticed that
after I sent it.