Automattic\WooCommerce\Caching

CacheException::get_thrower()publicWC 1.0

Gets the object that threw the exception as passed to the exception constructor.

Method of the class: CacheException{}

No Hooks.

Return

Object. The object that threw the exception.

Usage

$CacheException = new CacheException();
$CacheException->get_thrower(): object;

CacheException::get_thrower() code WC 8.7.0

public function get_thrower(): object {
	return $this->thrower;
}