HEX
Server: LiteSpeed
System: Linux cpir1.prohostdns.com 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: pelakir (2976)
PHP: 8.2.31
Disabled: exec, shell_exec, system, passthru, proc_open, proc_close, proc_terminate, proc_get_status, popen, pclose, pcntl_exec
Upload Files
File: //proc/self/cwd/wp-content/plugins/woocommerce/packages/blueprint/src/Exporters/StepExporter.php
<?php

namespace Automattic\WooCommerce\Blueprint\Exporters;

use Automattic\WooCommerce\Blueprint\Steps\Step;

/**
 * Interface StepExporter
 *
 * A Step Exporter is responsible collecting data needed for a Step object and exporting it.
 * Refer to the Step class for the data needed as each step may require different data.
 */
interface StepExporter {
	/**
	 * Collect data needed for a Step object and export it.
	 *
	 * @return Step
	 */
	public function export();

	/**
	 * Returns the name of the step class it exports.
	 *
	 * @return string
	 */
	public function get_step_name();

	/**
	 * Check if the current user has the required capabilities for this step.
	 *
	 * @return bool True if the user has the required capabilities. False otherwise.
	 */
	public function check_step_capabilities(): bool;
}