Hoa central
Public Member Functions | List of all members
Hoa\Serialize\Cryonicable Interface Reference
Inheritance diagram for Hoa\Serialize\Cryonicable:

Public Member Functions

 __wakeup ()
 __sleep ()

Detailed Description

Interface .

Invite to implement __wakeup() and __sleep() method, in addition to the serialize common methods.

Definition at line 48 of file Cryonicable.php.

Member Function Documentation

Hoa\Serialize\Cryonicable::__sleep ( )

Commit pending data or perform similar cleanup tasks. This method should return an array of object attributes that not being serialized. If null is returned, an error will occurred. A trivial complete workaround should be: return array_keys(get_object_vars($this));

Hoa\Serialize\Cryonicable::__wakeup ( )

Try to reestablish the object statement and behavior before it is slept.


The documentation for this interface was generated from the following file: