| Server IP : 5.129.245.98 / Your IP : 216.73.217.19 Web Server : Apache/2.4.66 (Debian) System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/woocommerce/packages/blueprint/src/Exporters/ |
Upload File : |
<?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;
}