| 1 |
<?php |
| 2 |
/** |
| 3 |
* Settings Service Interface |
| 4 |
* |
| 5 |
* @package SeQura/WC |
| 6 |
* @subpackage SeQura/WC/Services |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace SeQura\WC\Services\Service; |
| 10 |
|
| 11 |
/** |
| 12 |
* Settings Service Interface |
| 13 |
*/ |
| 14 |
interface Interface_Settings_Service { |
| 15 |
|
| 16 |
/** |
| 17 |
* Check if the current page is the settings page. |
| 18 |
*/ |
| 19 |
public function is_settings_page(): bool; |
| 20 |
|
| 21 |
/** |
| 22 |
* Get the configuration page slug. |
| 23 |
*/ |
| 24 |
public function get_page(): string; |
| 25 |
|
| 26 |
/** |
| 27 |
* Get the configuration page parent slug. |
| 28 |
*/ |
| 29 |
public function get_parent_page(): string; |
| 30 |
} |
| 31 |
|