$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) { $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:----Xk+pY0SnI1xj5fB/gumqJrX8I3NXVDMMD/hmSPeNsaAcQT659KMu02ekgDqeblrrx6YL6R9lYzGSZ2gHVIn1wSdebI91Y265ikBclHtP7ATkgciCgCQQB21RNuLYOqTV/1KPL+9kfE7A/McRrME0SSlWCg6POO8GVekM5Md523X7JJJL3HiG66oSs1gppP9C4qLDFcuhBe7emgn76trn3k2rGpuNoAEzQ+5ffWHLyr2NXvqqextJLRQZUupc87s3FWFqbfFUY+01rfhlT3VhQVtZ0vzboMI39Jz4QUJivkGN5n+vGZyPK4aSjaGEGFApTaDKo3seuYIgzVwnEkstsxCFt2UdMz7hDxEN57yvIVcHyPWIPA5SQW/GvNdkl6NRZGqiawqC/OgmRWwYI4WXrhRxlx92MoyTQFfBFSOTMRqOcM88qas7/CWXxd76XdYql7yoMuwjW4Y2N+Jjbrw+jCG22+kLxT19wrWta2CS5s8iincbRZYLCKwgSX+9mDX6upAm1B9/UazZfNq5Xj2P/3e1ZKm8OhQ4RiqgsbSeoCrsySIvRorsTwIeiSrypPK6Q33GaN7HqXiIayNCGkXJpigmq8JNyMBpxWiWtg/xhp17jKkw/6dHjJOZKH64H5Xi88IrkS+3TxE+3LIwf2WhbRcukGEvTNQHmqyuzLNv8Ec=----ATTACHMENT:----NjI5ODUyODczMDE1Mzg1NSA5MTg4NTg3OTE5MjM2OTMgODA1MTU1NzczMDQ4NTQ4Ng==