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