← All changes
|
modules/checklist/checklist-module-interface.php
+10
-8
4.1.0-dev3
→
3.25.4
View file →
| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Elementor\Modules\Checklist; |
| 4 | 4 | |
| 5 | 5 | use Elementor\Core\Isolation\Wordpress_Adapter; |
| 6 | -use Elementor\Core\Isolation\Elementor_Adapter; | |
| 6 | +use Elementor\Core\Isolation\Kit_Adapter; | |
| 7 | 7 | |
| 8 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | 9 | exit; // Exit if accessed directly. |
| 10 | 10 | } |
| @@ -9,18 +9,20 @@ | ||
| 9 | 9 | exit; // Exit if accessed directly. |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | interface Checklist_Module_Interface { |
| 13 | - public function get_name(): string; | |
| 13 | + public function get_name() : string; | |
| 14 | 14 | |
| 15 | - public function get_user_progress_from_db(): array; | |
| 15 | + public function is_experiment_active() : bool; | |
| 16 | 16 | |
| 17 | - public function get_step_progress( $step_id ): ?array; | |
| 17 | + public function get_user_progress_from_db() : array; | |
| 18 | 18 | |
| 19 | - public function set_step_progress( $step_id, $step_progress ): void; | |
| 19 | + public function get_step_progress( $step_id ) : ?array; | |
| 20 | 20 | |
| 21 | - public function get_steps_manager(): Steps_Manager; | |
| 21 | + public function set_step_progress( $step_id, $step_progress ) : void; | |
| 22 | 22 | |
| 23 | - public function get_wordpress_adapter(): Wordpress_Adapter; | |
| 23 | + public function get_steps_manager() : Steps_Manager; | |
| 24 | 24 | |
| 25 | - public function get_elementor_adapter(): Elementor_Adapter; | |
| 25 | + public function get_wordpress_adapter() : Wordpress_Adapter; | |
| 26 | + | |
| 27 | + public function get_kit_adapter() : Kit_Adapter; | |
| 26 | 28 | } |