mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix grammar
Patch provided by Travis Raymond Uribe. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341920 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6a8863a5a9
commit
b9f7ef8203
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
<link linkend="object.sleep">__sleep()</link> and
|
||||
<link linkend="object.wakeup">__wakeup()</link>. 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, <link linkend="object.wakeup">__wakeup()</link> 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.
|
||||
</para>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue