configUtils = $configUtils; } /** * Check if notifications are enabled. * * @return bool */ public function isEnabledNotifications(): bool { return (bool) $this->configUtils->getConfig(self::XML_PATH_NOTIFICATIONS_ENABLED); } /** * Get enabled notification lists. * * @return array */ public function getEnabledNotificationLists(): array { return $this->configUtils->prepareMultiselectValue( (string) $this->configUtils->getConfig(self::XML_PATH_NOTIFICATION_LISTS) ); } /** * Check if statistic is enabled. * * @return bool */ public function isEnabledStatistic(): bool { return (bool) $this->configUtils->getConfig(self::XML_PATH_IS_ENABLED_STATISTIC); } /** * Useful for debugging extension authorization. * * @return bool */ public function isDebugMode(): bool { return false; } }