Skip to content

Commit ed7e7f1

Browse files
authored
Update README.md
Added new RFC into README that addresses read-only properties problem
1 parent 11b507f commit ed7e7f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Action::$view = Action::$edit;
175175
// Following isn't possible in PHP 7.4 with declared properties types
176176
Action::$view = null;
177177
```
178+
Also, see most recent [Write-Once Properties](https://wiki.php.net/rfc/write_once_properties) RFC that aimed to address this issue.
178179

179180
### Class static initialization
180181
This implementation relies on class static initialization which was proposed in [Static Class Constructor](https://wiki.php.net/rfc/static_class_constructor).

0 commit comments

Comments
 (0)