| Total Complexity | 6 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 20% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class NotificationSettings extends AbstractSettings { |
||
| 6 | |||
| 7 | 4 | public function getEmailEnabledUserTypes(): array { |
|
| 8 | 4 | return $this->getValue('notifications.email.user_types', [ ]); |
|
|
|
|||
| 9 | } |
||
| 10 | |||
| 11 | public function setEmailEnabledUserTypes(array $userTypes): void { |
||
| 13 | } |
||
| 14 | |||
| 15 | public function getPushoverEnabledUserTypes(): array { |
||
| 16 | return $this->getValue('notifications.pushover.user_types', [ ]); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function setPushoverEnabledUserTypes(array $userTypes): void { |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getPushoverApiToken(): ?string { |
||
| 24 | return $this->getValue('notifications.pushover.token', null); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function setPushoverApiToken(?string $apiToken): void { |
||
| 29 | } |
||
| 30 | } |