WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

DataStore::get_cache_key() protected WC 1.0

Returns string to be used as cache key for the data.

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

No Hooks.

Return

String. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_cache_key( $params );
$params(array) (required)
Query parameters.

Code of DataStore::get_cache_key() WC 5.3.0

<?php
protected function get_cache_key( $params ) {
	return implode(
		'_',
		array(
			'wc_report',
			$this->cache_key,
			md5( wp_json_encode( $params ) ),
		)
	);
}