WC_Data_Store::__sleeppublicWC 1.0

Only store the object type to avoid serializing the data store instance.

Method of the class: WC_Data_Store{}

No Hooks.

Returns

Array.

Usage

$WC_Data_Store = new WC_Data_Store();
$WC_Data_Store->__sleep();

WC_Data_Store::__sleep() code WC 10.8.1

public function __sleep() {
	return array( 'object_type' );
}