Automattic\WooCommerce\Caching

CacheException::get_thrower()publicWC 1.0

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

Метод класса: CacheException{}

Хуков нет.

Возвращает

Объект. The object that threw the exception.

Использование

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

Код CacheException::get_thrower() WC 8.7.0

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