| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\Modules\Checklist; |
| 4 |
|
| 5 |
use Elementor\Core\Isolation\Wordpress_Adapter; |
| 6 |
use Elementor\Core\Isolation\Kit_Adapter; |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
exit; // Exit if accessed directly. |
| 10 |
} |
| 11 |
|
| 12 |
interface Checklist_Module_Interface { |
| 13 |
public function get_name() : string; |
| 14 |
|
| 15 |
public function is_experiment_active() : bool; |
| 16 |
|
| 17 |
public function get_user_progress_from_db() : array; |
| 18 |
|
| 19 |
public function get_step_progress( $step_id ) : ?array; |
| 20 |
|
| 21 |
public function set_step_progress( $step_id, $step_progress ) : void; |
| 22 |
|
| 23 |
public function get_steps_manager() : Steps_Manager; |
| 24 |
|
| 25 |
public function get_wordpress_adapter() : Wordpress_Adapter; |
| 26 |
|
| 27 |
public function get_kit_adapter() : Kit_Adapter; |
| 28 |
} |
| 29 |
|