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.

{} It's a method of the class: ObjectCache{}

No Hooks.

Return

String.

Usage

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

Code of ObjectCache::get_object_type() WC 7.1.0

abstract public function get_object_type(): string;