Re:New Features in PHP 5.6
by SDGT on Friday January 17, 2014 @03:41PM
(#7078270)
You can already do this by using a magic setter that blows out an exception whenever its called for whichever variables you denote. A little hacky, but it does indeed prevent setting of certain vars in your classes.
[ Parent
| on HN ]
There are no comments on this comment yet.