Skip to content
Snippets Groups Projects
Verified Commit 441847d8 authored by Jan Kuchař's avatar Jan Kuchař
Browse files

added docs

parent 4f541ef3
No related branches found
No related tags found
No related merge requests found
# Not serializable
As every object should be `final` as default. It should NOT be serializable as default.
Unfortunately reality in PHP is different.
If you want to make your classes NOT-serializable, you must explicitly state that.
# Usage
Require this package using composer
```bash
composer require grifart/not-serializable
```
and update your IDE default class template to:
```php
final class ${NAME} {
use \Grifart\NotSerializable\NotSerializable;
}
```
![](docs/phpstorm-settings.png)
docs/phpstorm-settings.png

824 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment