Y
Hacker News
new
|
ask
|
show
|
jobs
by
bwoebi
572 days ago
readonly is rather a misnomer for "writeonce" in PHP. And as such it also disallows repeated assignment in class scope, while private(set) has no such restriction.