WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

DataStore::get_cached_data() protected WC 1.0

Wrapper around Cache::get().

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

No Hooks.

Return

Mixed. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_cached_data( $cache_key );
$cache_key(string) (required)
Cache key.

Code of DataStore::get_cached_data() WC 5.2.2

<?php
protected function get_cached_data( $cache_key ) {
	if ( $this->should_use_cache() ) {
		return Cache::get( $cache_key );
	}

	return false;
}