| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | final class AdminSettings extends AbstractSettings implements AdminSettingsInterface |
||
| 6 | { |
||
| 7 | private const CONFIG_PATH = 'admin'; |
||
| 8 | |||
| 9 | private const SETTING_ID = 'id'; |
||
| 10 | private const SETTING_EMAIL = 'email'; |
||
| 11 | |||
| 12 | public function getId(): int |
||
| 13 | { |
||
| 14 | return $this->getIntegerConfigValue(self::SETTING_ID); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getEmail(): string |
||
| 18 | { |
||
| 19 | return $this->getStringConfigValue(self::SETTING_EMAIL); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getConfigPath(): string |
||
| 25 | } |
||
| 26 | } |
||
| 27 |