Automattic\WooCommerce\Vendor\Pelago\Emogrifier\Utilities
Preg::throwExceptions
Sets whether exceptions should be thrown if an error occurs.
Метод класса: Preg{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Preg = new Preg(); $Preg->throwExceptions( $throw ): self;
- $throw(true|false) (обязательный)
- .
Код Preg::throwExceptions() Preg::throwExceptions WC 11.0.1
public function throwExceptions(bool $throw): self
{
$this->throwExceptions = $throw;
return $this;
}