Re: RFC - Immutable classes
| From: | Niklas Keller | Date: | Sat, 10 Sep 2016 17:49:36 +0000 |
| Subject: | Re: RFC - Immutable classes | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95901@lists.php.net to get a copy of this message | ||
2016-09-10 19:41 GMT+02:00 Silvio Marijić <marijic.silvio@gmail.com>:
> @Fleshgrinder,
>
> While I'm not sure at the moment about CoW, I can agree that we should add
> immutable keyword as a interface modifier to make sure all classes
> implementing must be immutable.
As interfaces can't have member variables, that doesn't make sense to me.