Automattic\WooCommerce\Blueprint
StepProcessorResult::__construct
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() StepProcessorResult:: construct WC 10.0.2
public function __construct( bool $success, string $step_name ) { $this->success = $success; $this->step_name = $step_name; }