Automattic\WooCommerce\Caching
ObjectCache::__construct
Creates a new instance of the class.
Method of the class: ObjectCache{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ObjectCache = new ObjectCache(); $ObjectCache->__construct();
ObjectCache::__construct() ObjectCache:: construct code WC 10.7.0
public function __construct() {
$this->object_type = $this->get_object_type();
if ( empty( $this->object_type ) ) {
throw new CacheException( 'Class ' . get_class( $this ) . ' returns an empty value for get_object_type', $this );
}
}