| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\PaymentGateways; |
| 4 |
|
| 5 |
/** |
| 6 |
* Interface SettingSection |
| 7 |
* @package Give\Views\Admin\Settings |
| 8 |
* |
| 9 |
* @since 2.9.0 |
| 10 |
*/ |
| 11 |
interface SettingPage |
| 12 |
{ |
| 13 |
/** |
| 14 |
* Provides the section id to be use to render setting page. |
| 15 |
* |
| 16 |
* @since 2.9.0 |
| 17 |
* |
| 18 |
* @return string |
| 19 |
*/ |
| 20 |
public function getId(); |
| 21 |
|
| 22 |
/** |
| 23 |
* Provides the section title to be displayed to the user. |
| 24 |
* |
| 25 |
* @since 2.9.0 |
| 26 |
* |
| 27 |
* @return string |
| 28 |
*/ |
| 29 |
public function getName(); |
| 30 |
|
| 31 |
/** |
| 32 |
* Provides the section settings to be displayed to the user. |
| 33 |
* |
| 34 |
* @since 2.9.0 |
| 35 |
* |
| 36 |
* @return array |
| 37 |
*/ |
| 38 |
public function getSettings(); |
| 39 |
|
| 40 |
/** |
| 41 |
* Boot functionality |
| 42 |
* |
| 43 |
* @since 2.9.0 |
| 44 |
*/ |
| 45 |
public function boot(); |
| 46 |
} |
| 47 |
|