Re: [RFC] Property write visibility
| From: | Mark Randall | Date: | Mon, 29 Jun 2020 14:22:10 +0000 |
| Subject: | Re: [RFC] Property write visibility | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110778@lists.php.net to get a copy of this message | ||
On 29/06/2020 15:13, André Rømcke wrote:
Would something closer to Swift be better? If so I expanded the RFC with that syntax option as well:Borrowing from the various accessors RFCs: public int $x { protected set; protected unset; } Then a future RFC can build upon it by adding the override functions while keeping the same base syntax. Mark Randall