Automattic\WooCommerce\Vendor\Pelago\Emogrifier\Utilities
Preg::throwExceptions
Sets whether exceptions should be thrown if an error occurs.
Method of the class: Preg{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Preg = new Preg(); $Preg->throwExceptions( $throw ): self;
- $throw(true|false) (required)
- .
Preg::throwExceptions() Preg::throwExceptions code WC 10.5.0
public function throwExceptions(bool $throw): self
{
$this->throwExceptions = $throw;
return $this;
}