WooCommerce Code Reference

interface-installaton-step.php

Source code

<?php
/**
 * Interface for installation steps.
 *
 * @package WooCommerce\WCCom
 * @since   7.7.0
 */

defined( 'ABSPATH' ) || exit;

interface WC_WCCOM_Site_Installation_Step {
	/**
	 * Constructor.
	 *
	 * @param array $state The current installation state.
	 */
	public function __construct( $state );

	/**
	 * Run the step installation process.
	 */
	public function run();
}