We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See https://www.php.net/manual/en/class.serializable It throws a lot of deprecation warnings
Solution:
Serializable
__serialize
__unserialize
public function __serialize(): array { return $this->toArray(); } public function __unserialize(array $data): void { $this->assign($data); }
Please note that __serialize() ha to return an array not ?string!
__serialize()
array
?string
The text was updated successfully, but these errors were encountered:
Fixed in v2.0.1
v2.0.1
Sorry, something went wrong.
Jeckerson
No branches or pull requests
See https://www.php.net/manual/en/class.serializable It throws a lot of deprecation warnings
Solution:
Serializable
and add__serialize
and__unserialize
Please note that
__serialize()
ha to return anarray
not?string
!The text was updated successfully, but these errors were encountered: