|
string | $class |
| The class of the cacheable object.
|
|
mixed | $data |
| The data returned by the cacheable_object_interface prepare_to_cache method.
|
|
- Copyright
- 2012 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
Constructs a cached object wrapper.
- Parameters
-
cacheable_object_interface | $obj | |
◆ restore_object()
core_cache\cached_object::restore_object |
( |
| ) |
|
Restores the data as an instance of the cacheable_object_interface class.
- Return values
-
The documentation for this class was generated from the following file:
- cache/classes/cached_object.php