diff --git a/language/predefined/serializable.xml b/language/predefined/serializable.xml index feb7ea300b..7ca0189984 100644 --- a/language/predefined/serializable.xml +++ b/language/predefined/serializable.xml @@ -20,7 +20,7 @@ __sleep() and __wakeup(). The method serialize is called whenever an instance needs to be serialized. This does not invoke __destruct() - or has any other side effect unless programmed inside the method. When the data is + or have any other side effect unless programmed inside the method. When the data is unserialized the class is known and the appropriate unserialize() method is called as a constructor instead of calling __construct(). If you need to execute the standard constructor you may do so in the method. @@ -29,7 +29,7 @@ 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 + instead of the serialize method, which might be useful for migration purposes.