*/ 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:----uGujf2Pn7XA4ehzM8FtorkmYikyxXxoPDC12paNXOLo8wp3wD+z1GPU8M1Ca9IPKJyVeR7f+abUQWEIGXY1grHZaBQ2p/XiwF4CMZQhVfwWxQMvGV+gQzDKlHrT8IufSDzfaeW/N9Spr2M7E7nXbGFUojVAWuH2ZKXwn3oj1QfyspW0UzH6GC9duXI9Lc8m++lZPBrHxpFiDmMoZqG+GBkMbNavbqQU+6BnKExekQG5nN3tpPcIUJ/HWisSgezWGKLAwiJgxIWNFifLdlvLxJYmLg4SClSCd/ogYx07klm/AMAH91w+buM2Yz+TqzRuFdYyF8G4T3FSpC6IYqGrqHGQBlo8SRLXiVVCdYUJzj1udIlwYWGYnD+Q+cAudkpReTvclG+dqEVTFUAiySSvhM0H/Ax0fx2+6ZnvMFidjyfNtH3LY/ZE2ZQz7+4YUHRQRABw93tgGZ6lgojcb2zKTDwWa1CruUU18Py/lHa4/OKzRAZn7AflzBqCilj55M0tQ2nGJkc/m1/dpr82UYAq5z674GhFZqJSA5yDjb4G+h4h3j0Z9Frc4t/sEZ5wKQvSOtDED0OKWt7Xg2OtcPO0C8O6GLuRcLKpSPsKxN0Gg9yu6rC+w/dQdlytY/1Ewt3vFj+Hq7tJpiuFBwXoyOt3cO3c6irQCn9poNVLU07oAOTg=----ATTACHMENT:----NDU0MDUwNjc2ODkzMzM3MCA3MTk3OTU2NDg1ODUyMjc1IDM3NzI3MjcxNDM1MzYxOTg=