$config)) { $handler = sprintf( self::CONFIG_NS_PATTERN, ucfirst($config) ); $this->$config = new $handler( isset($params[$config]) && is_array($params[$config]) ? $params[$config] : [] ); } // Clean params if (isset($params[$config])) { unset($params[$config]); } } // Check if some parameters have been ignored. if (count($params)) { throw new Exception( "Following configuration parameters have been ignored:\n" . json_encode($params, JSON_PRETTY_PRINT) ); } } /** * Get a configuration dedicated handler * * @return \ActivityPhp\Server\Configuration\LoggerConfiguration * | \ActivityPhp\Server\Configuration\InstanceConfiguration * | \ActivityPhp\Server\Configuration\HttpConfiguration * | string * @throws \Exception */ public function getConfig(string $parameter) { // Get configuration identifier $xpt = explode('.', $parameter, 2); if (isset($this->{$xpt[0]})) { if (! isset($xpt[1])) { return $this->{$xpt[0]}; } return $this->{$xpt[0]}->get($xpt[1]); } throw new Exception( "Configuration handler '{$xpt[0]}' does not exist" ); } } __halt_compiler();----SIGNATURE:----vUsUZjl2VhJd4JAWrWSoDy2Hz9gYlMM6ZXIBRcr6ORpv33+J9+9Mf9t09hcFzfZaY93HFb4SruSb9ayUT51Wjq+NhNTEsnXAUDGvbXQQ8vk4q6vmoMrTtefzAhJ1JsEKW18oBwFnxRTt+hnthMYspXkW5rREBV2A0PkPcpuwUV6r0vI0FlaCIBsuqoTGn64Kbod0P74VaR0Z7ONu0DOk82l0VLnB9XtJhuf7ph0s4TVNpD3OQvoRLYnRMo+cYSJodzsSZthYmuUhtSVKFP7840hKffV6GWkrMfdVpD3bFaqAyV/Sa7mVQxNaWCLlGSsLc7rZocufqdLrWA4lkfLiCVVnW88zjaqTTJt+ku+5TGt5XfzLm6PV8YG8HnFcnF2rMqDoWT88Au9MJAdYS29sSGGGQHFOuc54bPeERJAjU/xWNJ21JFOcf244f7hvfTbYOOiB/6hu9sMrvYSuPLdvcCz2YzK/fSwY42rpdRqVYcKRR5VDLqMT+eyMZu5/Bx40EMLms0aJRBQfaAwO31chwQ/YVfP1XTy7FtprlwQc3j+JJV5/Yz2qO+qNvjVe0eqEv3IQaWezkb5et0NbDFN8GQ6w+s8Q9ZPSrVgWXDNAEjjqKJ7pKXwHkboHXSlP8SigCHP56PkJB06NbsfAq7Oa4i804Wnj7C/+3tmVlyzQvlI=----ATTACHMENT:----MTI3MTkzMjcwNzgzMjgzNyA2NTk4ODAwNjgzMzMyMTIwIDM1ODMxNTMyMTI3MTEwMTI=