SettingsStorageInterface.php
66 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 | * @param $settingCategoryKey |
| 44 | * @param $settingKey |
| 45 | * @param $settingValue |
| 46 | * |
| 47 | * @return mixed |
| 48 | */ |
| 49 | public function setSetting($settingCategoryKey, $settingKey, $settingValue); |
| 50 | |
| 51 | /** |
| 52 | * @param $settingCategoryKey |
| 53 | * @param $settingValue |
| 54 | * |
| 55 | * @return mixed |
| 56 | */ |
| 57 | public function setCategorySettings($settingCategoryKey, $settingValue); |
| 58 | |
| 59 | /** |
| 60 | * @param $settings |
| 61 | * |
| 62 | * @return mixed |
| 63 | */ |
| 64 | public function setAllSettings($settings); |
| 65 | } |
| 66 |