| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\Modules\Checklist; |
| 4 |
|
| 5 |
use Elementor\Core\Isolation\Wordpress_Adapter; |
| 6 |
use Elementor\Core\Isolation\Elementor_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 get_user_progress_from_db(): array; |
| 16 |
|
| 17 |
public function get_step_progress( $step_id ): ?array; |
| 18 |
|
| 19 |
public function set_step_progress( $step_id, $step_progress ): void; |
| 20 |
|
| 21 |
public function get_steps_manager(): Steps_Manager; |
| 22 |
|
| 23 |
public function get_wordpress_adapter(): Wordpress_Adapter; |
| 24 |
|
| 25 |
public function get_elementor_adapter(): Elementor_Adapter; |
| 26 |
} |
| 27 |
|