Automattic\WooCommerce\Blueprint
StepProcessorResult::success
Create a new instance with $success = true.
Method of the class: StepProcessorResult{}
No Hooks.
Returns
StepProcessorResult
.
Usage
$result = StepProcessorResult::success( $stp_name ): self;
- $stp_name(string) (required)
- The name of the step.
StepProcessorResult::success() StepProcessorResult::success code WC 9.9.5
public static function success( string $stp_name ): self { return ( new self( true, $stp_name ) ); }