*/ 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:----KfR2o69bUxJ66fLCmIc2gNFHaxpT0EOeT3307qN6905K9ChVWBcxVUUCTgrOhbHv80DHygxHymvT6xcoitC2fSX/eSzBuSrRmcUaWvcU0dHd2XnTsp8u8u/9NfMkuqXpirI4ZnyCUq3fgl/sh5pxidfgAmN1n+/ET9W1mVDn7CVI+dWiW75vnvDjztz7s3stGDItg3z1dLYXfYWm9fq/v11U1tBG7ypWQ0oaUxkzAM2vwNbnC+70CaRH/mm1c0O2xnaHt10XoAz0P/4mDTsD/J/+GpPPEvLi/EADMOEETYIoJMp6Ds7UxiTAs3HG8LRp++bQTy+Toofe8K4GoqhP7fF9LiP6XULFTeGZ+wGF6o3Nr/p288D8y8IdSD0wfub0A0MZFv0oHLiFqVEtmLkMWkt2Cd+odsJmRgmo3WEzIWMrylhNJX/rrlPM524mAfxb5NDUscBuWAKhLKntQSkM6t61W5Dx3HOyNyeGwcWwHhiaFIvPwzkaYAEv5WNSHZJw1aS+eWMQBjhQkHarURuPz0jbB2kP7UWXW3t/xrzlv/jleRw7na+TWC1cI8npG70/ntp8/2hUEOBvhPJfQYJ4cAWmfmz+MgNisqLV1q7Iir4byEl3kgTDXWLbbhISxGbAYcBt5DKXuIZ+S2FUcCduj9jhtPtf/00cGx0aoTm2QE8=----ATTACHMENT:----NjAzOTc1MTE0NTM2MjAzNCA0MzEzMzYzMDgxNDUxMjM0IDk1ODE4NzMxMzM2OTQ2MjU=