SettingsStorageInterface.php
71 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Domain\Services\Settings; |
| 4 | |
| 5 | /** |
| 6 | * Interface SettingsStorageInterface |
| 7 | * |
| 8 | * @package AmeliaBooking\Domain\Services\Settings |
| 9 | */ |
| 10 | interface SettingsStorageInterface |
| 11 | { |
| 12 | /** |
| 13 | * @param $settingCategoryKey |
| 14 | * @param $settingKey |
| 15 | * |
| 16 | * @return mixed |
| 17 | */ |
| 18 | public function getSetting($settingCategoryKey, $settingKey); |
| 19 | |
| 20 | /** |
| 21 | * @param $settingCategoryKey |
| 22 | * |
| 23 | * @return mixed |
| 24 | */ |
| 25 | public function getCategorySettings($settingCategoryKey); |
| 26 | |
| 27 | /** |
| 28 | * @return mixed |
| 29 | */ |
| 30 | public function getAllSettings(); |
| 31 | |
| 32 | /** |
| 33 | * @return mixed |
| 34 | */ |
| 35 | public function getAllSettingsCategorized(); |
| 36 | |
| 37 | /** |
| 38 | * @return mixed |
| 39 | */ |
| 40 | public function getFrontendSettings(); |
| 41 | |
| 42 | /** |
| 43 | * @return mixed |
| 44 | */ |
| 45 | public function getBackendSettings(); |
| 46 | |
| 47 | /** |
| 48 | * @param $settingCategoryKey |
| 49 | * @param $settingKey |
| 50 | * @param $settingValue |
| 51 | * |
| 52 | * @return mixed |
| 53 | */ |
| 54 | public function setSetting($settingCategoryKey, $settingKey, $settingValue); |
| 55 | |
| 56 | /** |
| 57 | * @param $settingCategoryKey |
| 58 | * @param $settingValue |
| 59 | * |
| 60 | * @return mixed |
| 61 | */ |
| 62 | public function setCategorySettings($settingCategoryKey, $settingValue); |
| 63 | |
| 64 | /** |
| 65 | * @param $settings |
| 66 | * |
| 67 | * @return mixed |
| 68 | */ |
| 69 | public function setAllSettings($settings); |
| 70 | } |
| 71 |