Automattic\WooCommerce\Blueprint

StepProcessorResult::__constructpublicWC 1.0

Construct.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$StepProcessorResult = new StepProcessorResult();
$StepProcessorResult->__construct( $success, $step_name );
$success(true|false) (обязательный)
Indicate whether the process was success or not.
$step_name(строка) (обязательный)
The name of the step.

Код StepProcessorResult::__construct() WC 10.0.2

public function __construct( bool $success, string $step_name ) {
	$this->success   = $success;
	$this->step_name = $step_name;
}