configUtils = $configUtils; } /** * @since 1.1.0 * @param null $store * @param null $scope * @return string */ public function getDisplayStyle($store = null, $scope = null): string { return (string) $this->configUtils->getConfig(self::XML_PATH_DISPLAY_STYLE, $store, $scope); } /** * @param null $store * @param null $scope * @return array */ public function getUrlsToHide($store = null, $scope = null): array { $value = (string) $this->configUtils->getConfig(self::XML_PATH_HIDE_ON_URLS, $store, $scope); return array_filter($this->configUtils->splitTextareaValueByLine($value)); } /** * @since 1.1.0 * @param null $store * @param null $scope * @return string */ public function getTitle($store = null, $scope = null): string { return (string) $this->configUtils->getConfig(self::XML_PATH_TITLE, $store, $scope); } /** * @param null $store * @param null $scope * @return string */ public function getText($store = null, $scope = null): string { return (string) $this->configUtils->getConfig(self::XML_PATH_TEXT, $store, $scope); } /** * @since 1.1.0 * @param null $store * @param null $scope * @return string */ public function getTitleColor($store = null, $scope = null): string { return (string) $this->configUtils->getConfig(self::XML_PATH_TITLE_COLOR, $store, $scope); } /** * @param null $store * @param null $scope * @return string */ public function getTextColor($store = null, $scope = null): string { return (string) $this->configUtils->getConfig(self::XML_PATH_TEXT_COLOR, $store, $scope); } /** * @param null $store * @param null $scope * @return string */ public function getBackgroundColor($store = null, $scope = null): string { return (string) $this->configUtils->getConfig(self::XML_PATH_BACKGROUND_COLOR, $store, $scope); } /** * @since 1.1.0 * @param null $store * @param null $scope * @return string */ public function getOverlayBackgroundColor($store = null, $scope = null): string { return (string) $this->configUtils->getConfig(self::XML_PATH_OVERLAY_BACKGROUND_COLOR, $store, $scope); } /** * @since 1.1.1 * @param null $store * @param null $scope * @return bool */ public function getIsNeedBlurOverlay($store = null, $scope = null): bool { return $this->configUtils->isSetFlag(self::XML_PATH_OVERLAY_BLUR, $store, $scope); } /** * @param null $store * @param null $scope * @return array */ public function getAcceptButtonConfig($store = null, $scope = null): array { return (array) $this->configUtils->getConfig(self::XML_PATH_ACCEPT_BUTTON_GROUP, $store, $scope); } /** * @param null $store * @param null $scope * @return array */ public function getDeclineButtonConfig($store = null, $scope = null): array { return (array) $this->configUtils->getConfig(self::XML_PATH_DECLINE_BUTTON_GROUP, $store, $scope); } /** * @param null $store * @param null $scope * @return array */ public function getSettingsButtonConfig($store = null, $scope = null): array { return (array) $this->configUtils->getConfig(self::XML_PATH_SETTINGS_BUTTON_GROUP, $store, $scope); } }