$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:----VICWBipHW3ErMS3G8tITaDs9LBeuibOL2+1kX6okuH8L+rFHOVxCnRg2LIp+9CNde92uo7LWUSLNkmiS2Z4TU7W5UHVwRj476D7Glkoc3dh6HxKCkbYKNkqcXGV2iic3tPoMo1ssElHeqIqqAXpQLHMXoAZoWvPbiePNMbdWCFcUvJpG5pvY0teJO1DamhMR0PnGkauStwiy1samu/lTCUWFO76udc//PWoNg1bmcL/WzSzLUGBPTbkcYK0oav2M+47OOju5ryo+Pt89yXvxA8PVcQO6yQd2/2i0Yo612w9D7tyazBRHwLWrLJQwUyIHw42+MJLDHB/On4pg8pZoE8DbklH4+jlnPjGR27XMzaB2AWwnAQ5S1DuJIUBZ/DCunwdEgWk7JolhuKvAp6TJjLh6kQ/dSXuuC1sYzIqmhBJQnmKmyQy81L8jTwBU1BkBrzyxtJ7rRMp3JcR3lZ3T5IrlrplQ6+35Z6s+6ETENDNg7lKI8UjvVjskkHshI1xIiBx3hcgzGurb/lOZpQfWTASMa0/ZQwID4lQ1WYYjWlSPJOWKFHqcsVMj/ei6UX/uTuenmLqnyMYbTp8wi6pBFz/u9Fq8LujWCPpeUUaCi8LANa9a9FeNhv+2X4tDT/6Ny7nL/LtlG6rx93UozJA6dSlffbW69ma46WKEilbz9gY=----ATTACHMENT:----NjE3MzY2NzAyNDc4MTQ1MCA0MDQ5Njg2Mzg3MTczNzEgMTY3NDc0Mjg5MjkxMDMwOQ==