Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added new RFC into README that addresses read-only properties problem
  • Loading branch information
dbalabka authored Feb 25, 2020
1 parent 11b507f commit ed7e7f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ Action::$view = Action::$edit;
// Following isn't possible in PHP 7.4 with declared properties types
Action::$view = null;
```
Also, see most recent [Write-Once Properties](https://wiki.php.net/rfc/write_once_properties) RFC that aimed to address this issue.

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

0 comments on commit ed7e7f1

Please sign in to comment.