$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:----pD2Rn6AZA628AzKgPqL8RU6i4Ff5eDrQsPR85QuemXta1Scaw469cHmT+oBGIj3d1uJgOezkUPmjnig2Rb3FaiAsw54UpJO89kwmgdU4wN3/ZmFGASC8yD90uQAjq7fozndn/3pXztJ6bSnkjwaBazE/hZ5ZKA2OCwKs7cGm6N1dMAxHkzBupWNlcSi9Efl42GDtrCyMo7naG20NJABKwiDr8hVrJRJgHMGZc8vqmLinv2vBR3qO6FyLq9D95qwpOx/5MXrsRoLuKHhNtDl91HhL6Z1cp/wN7rSAX6OEc5DxQydi2GKASBPiywmiohAodRP1P99nr3cfXLY044rWmUGPe07D1hRLHQrX+Koje2yg/7wYo1zO0MiqPpW6vE23IlRoNh4ge8nTVycLIidJr//zVkt6zpDfefDPAdDefJNfsIRQCBHXHSB9YEi5XwkFxembB4LR/3pS2GFSXq3k56B/iw5zNB78t0afSNhxeqFK1ZEaSKPLT5swDONV+a9APkMEiX+eJw5Sn2oNgRNaOmmfuNEY9U24kUX78aS7b3E3LsIKRCyDc6ed6D+SU/eNqY+6+GtuP9UgzDoKsuZ0Oiq15AlvqlANpxnXS9ZHEfU/z87bKVOOYNmIcEv6d5OuPNJKygEKn5bPpkBKQ4n2P3VxoaddRWDvxIRCjqWe22Y=----ATTACHMENT:----Njc5MjgyNTA1MDg5NTc4NyAzMTQzMDYzMzU1MjUyNTk0IDgxOTc3ODc2ODE4NzYzNjc=