Skip to content
Snippets Groups Projects
Commit 273a202b authored by Jan Kuchař's avatar Jan Kuchař
Browse files

Update README.md

parent 67efcd40
Branches
No related tags found
No related merge requests found
Pipeline #38351 passed
# Not serializable # Classes should not be serializable by default!
As every object should be `final` as default. It should NOT be serializable as 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. If you want to make your classes NOT-serializable, you must explicitly state that.
This package makes this one-liner for you.
# Usage # Usage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment