Re: [RFC] [Discussion] Readonly class amendments
| From: | Marco Pivetta | Date: | Sat, 26 Nov 2022 23:06:23 +0000 |
| Subject: | Re: [RFC] [Discussion] Readonly class amendments | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119038@lists.php.net to get a copy of this message | ||
On Sat, 26 Nov 2022, 23:56 G. P. B., <george.banyard@gmail.com> wrote:
>
> As all the invariants will be maintained in the child classes
>
> The invariant here is the immutability from a behavioural PoV.
LSP has 100% been broken in that example.
>
>