From 273a202be49660c201de9c45a014d74d6c7d6cd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kucha=C5=99?= <honza.kuchar@grifart.cz> Date: Mon, 21 Mar 2022 13:00:42 +0000 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3682af..a73b9c0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ -# Not serializable +# Classes should not be serializable by default! As every object should be `final` as default. It should NOT be serializable as default. -Unfortunately reality in PHP is different. +Unfortunately in PHP every object is serializable, until you say otherwise. If you want to make your classes NOT-serializable, you must explicitly state that. +This package makes this one-liner for you. # Usage -- GitLab