Verified Commit 441847d8 authored by Jan Kuchař's avatar Jan Kuchař
Browse files

added docs

parent 4f541ef3
# 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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment