Yoast\WP\SEO\Expiring_Store\Domain
Corrupted_Value_Exception::__construct
The constructor.
Метод класса: Corrupted_Value_Exception{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Corrupted_Value_Exception = new Corrupted_Value_Exception(); $Corrupted_Value_Exception->__construct( $key, $previous );
- $key(строка) (обязательный)
- The key whose value is corrupted.
- $previous(строка) (обязательный)
- The underlying JSON decode error message.
Код Corrupted_Value_Exception::__construct() Corrupted Value Exception:: construct Yoast 28.9
public function __construct( string $key, string $previous ) {
parent::__construct( "Failed to decode value for key '{$key}': {$previous}" );
}