Re: [RFC] Property write visibility
| From: | Max Semenik | Date: | Mon, 29 Jun 2020 10:00:48 +0000 |
| Subject: | Re: [RFC] Property write visibility | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110769@lists.php.net to get a copy of this message | ||
On Mon, Jun 29, 2020 at 12:42 PM André Rømcke <andre.romcke@gmail..com>
wrote:
> This enables readonly, write-only and immutable like semantics for PHP's
> properties.
>
I agree that there is a use case for it, however I don't think the proposed
syntax
public:private is intuitive. Maybe we can come up with something
better?
--
Best regards,
Max Semenik