Automattic\WooCommerce\Caching

CacheException::get_thrower │ public │ WC 1.0

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

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

Хуков нет.

Возвращает

object. The object that threw the exception.

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

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

Код CacheException::get_thrower() WC 11.3.0

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