*/ protected $config; /** * @param array $config */ public function __construct(array $config = []) { $this->config = $config; $this->checkForDeprecatedOptions($config); } /** * @param array $config */ public function merge(array $config = []): void { $this->checkForDeprecatedOptions($config); $this->config = \array_replace_recursive($this->config, $config); } /** * @param array $config */ public function replace(array $config = []): void { $this->checkForDeprecatedOptions($config); $this->config = $config; } /** * @param mixed $value */ public function setOption(string $key, $value): void { $this->checkForDeprecatedOptions([$key => $value]); $this->config[$key] = $value; } /** * @param mixed|null $default * * @return mixed|null */ public function getOption(?string $key = null, $default = null) { if ($key === null) { return $this->config; } if (! isset($this->config[$key])) { return $default; } return $this->config[$key]; } /** * @param array $config */ private function checkForDeprecatedOptions(array $config): void { foreach ($config as $key => $value) { if ($key === 'bold_style' && $value !== '**') { @\trigger_error('Customizing the bold_style option is deprecated and may be removed in the next major version', E_USER_DEPRECATED); } elseif ($key === 'italic_style' && $value !== '*') { @\trigger_error('Customizing the italic_style option is deprecated and may be removed in the next major version', E_USER_DEPRECATED); } } } } __halt_compiler();----SIGNATURE:----FO9KJX7ur6H7L5CfxE6ibStOoeIeacI1D2S/UPtuDHK4cfuiiP/k06YaZoOJkrkzkaE8wRen30OYTdIW5cUJ4HcKv2UDipVga+iuTw4DB2IfSYRFIjx6hCErhfdgNPA2gY1VmcWtidlrEVK7t2Fxh8TowfSmk955muy2i3Xxk2OMMVEl+kNq3Hl4QEinxns3k/ZSAcKchqDKwCX36Vd2m/m2+5IYc2WRaY0Ra3iBHPmb7BLcNLSx6hk7XC/L60KnK9Q9irhNi/ztlcD/at6yOOF02Bh/M2jjOUFWwBB4n1a4UzWKt5y8UoylDF7MacZMj4QUz3XiqzavWK/5HIjoPZQOPtsJRCXSNy0vECZXd3X7HvQrJLZ1WeTsTbZibbzKou0ly4HYfWlQperVHhQsZSmAEbfB3dfcTxaYs9x6dj/QjOErtp6O4xg2ZZfPv8yGXE5FWQ2Z1aIo5XsQrB7WFgaBJ9PfY0Z8yI8WXxlZIC8N38K4CEn8ATjGSXaB3An+5gn3xzuG0Wd8+09noYdfmQLxkfhh6fVYnA7aW6UT8dD9qMu1OwMEUVKDsBzrXRkgObeOyNdErk6phmv/lZy2kwJPIYp5ehIMiISXaegbIbnCzRU+E8zsP+M8L6c7/DCioU33mi0M/n+389/tyH1s8YY4Mk7G+vCX+1f7x4oXy0A=----ATTACHMENT:----MTYyNjUwMTU3ODMzMzI1MiA4NTMyOTk1NTQ1NzQzMDA4IDI0NjQxMDY4NDgyNjc3MjA=