$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:----MI5f4PGnnW3xsN6KC+qkccLLo/9MksxKYsmZSppjuPP0FNlFqNSwsh/hgVeFs9Fr2vsGI1SSnw7DDPLX99Fv9BhZWTIvOWyUz/ACsTvPjrAJVQLbEKcwyE6BGXT4KX80H0L+cjrD0XZiST/kUXb8KNVwM8JUP5Ay2VFie5s78dtaVwpVYtHiq1am2eHnlkjptu8UcK+wM+ISefnWYn4Ri0jicFgyZCDpfPoA8ggyPuq5ytoUc11uECmf9YKgbH9k6KUgfUD01ZEhnHA3Z0oUxiP5Do+aAfDgTR0quidD0Ep94FiyEPb2QjLmsfdNWlyiqgIArrZjxNmcHXn7S5p4kNonOWKRdec26QpIrX0EXIo9Lw/DRxObh9Iu38N0EDxmWNwhfBqWl88IErK0W+2XSiCOeHpnR4402Voe+h03NCyLhhZA0izw6BhuzT/7gyTpO34yynRj9o2G+c1iYDi+P1+ieEjf/LvsFJ9ulmS/B9MtjvqM5YtZz8Bki7dh6fmj3Paugf4V4MEmvPqQcS3eVTimmDedgOcM4cToaBWBHEIWovy/DWFtdIBpO8BkwA5Opeatxr6KrFekwcUi+ewevJWz21HAX+wQ7GHXw8QyuCMMuuJb49Nj8CIQ0gcTTwRWDD9SKLauiLOCb3XsdLHM5ZdHuRVW3QrNAI2Y6yIjeRk=----ATTACHMENT:----NDA2NjU3NDg5NDYwMzAyIDg3MzQ5Mzg4NDk4ODE1NjIgMTQzOTQ2ODA0MTc0NjE5Mw==