On 29/06/2020 10:41, André Rømcke wrote:
https://wiki.php.net/rfc/property_write_visibility

I'd like this feature as a stop-gap for accessors.

However, I don't like the syntax at all, I couldn't reasonably vote for it in its current suggested state. I think it's just too messy.

I'm not sure what the alternative should be though. It seems like the accessor syntax would be the only long-term clean way.

Mark Randall

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

Reply via email to