Issue #3548971: Fix internal calls to deprecated __sleep()/__wakeup() methods
Replace __sleep and __wakeup and with __serialize/__unserialize, starting with DependencySerializationTrait.
Closes #3548971
Edited by godotislate
Replace __sleep and __wakeup and with __serialize/__unserialize, starting with DependencySerializationTrait.
Closes #3548971