Automattic\WooCommerce\Caching

ObjectCache::get_object_type()publicWC 1.0

Gets an identifier for the types of objects cached by this class. This identifier will be used to compose the keys passed to the cache engine, to the name of the option that stores the cache prefix, and the names of the hooks used. It must be unique for each class inheriting from ObjectCache.

Method of the class: ObjectCache{}

No Hooks.

Return

String.

Usage

$ObjectCache = new ObjectCache();
$ObjectCache->get_object_type(): string;

ObjectCache::get_object_type() code WC 8.6.1

abstract public function get_object_type(): string;