Automattic\WooCommerce\Blueprint
StepProcessorResult::__construct
Construct.
Method of the class: StepProcessorResult{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$StepProcessorResult = new StepProcessorResult(); $StepProcessorResult->__construct( $success, $step_name );
- $success(true|false) (required)
- Indicate whether the process was success or not.
- $step_name(string) (required)
- The name of the step.
StepProcessorResult::__construct() StepProcessorResult:: construct code WC 9.9.5
public function __construct( bool $success, string $step_name ) { $this->success = $success; $this->step_name = $step_name; }