diff --git a/language/predefined/serializable.xml b/language/predefined/serializable.xml index 9906790445..feb7ea300b 100644 --- a/language/predefined/serializable.xml +++ b/language/predefined/serializable.xml @@ -25,6 +25,13 @@ a constructor instead of calling __construct(). If you need to execute the standard constructor you may do so in the method. + + Note, that when an old instance of a class that implements this interface + now, which had been serialized before the class implemeted the interface, is + unserialized, __wakeup() is called + instead of the serialize method, what might be useful for migration + purposes. +