$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:----SxA3w3l0ndqqeqOWp3XEHpqvMfIbi82TUOToJtKddhK7ja4Fff0bOQ358XZaks10EvJXS9TIcTynSeMEZvVIcqb45DQx7Xvy785AY/aBgnSDhSonwIgO05Lra6FznN/RzLxSL/8p9v/zTStpvRD37jo2kmkxMDcAr9t8PQtKr+82Zn2689kA4/8nwUg8AtsI3a4nBGNKrxOPLqJqjDEMQCF3DIx34pa5LysS+shRtK+rCHW9tU/12224GPAHn1qc8qgkVM+9U7SPPhxC16NQJVS63JXU6gI477vZEGYlHsWWtbtgvp1SqvpUz2eOsu4rK/P/nfgKgcgTbBKYuM4Jm4IKfSwof6GwFHhVnUPovv9DD5h0wsqz5f0yI4pOtfUSwhlYYVMMCCme8LIw04Q8HiQ+BTGtvaKlX4K7n89Vd0f/SSSN1Vyzqj9IXT2hPGik6aUqXW0i64kPic4yqnXgQaMtpZICqVl9uYuRbOHZXQJuAN3xw1+4LH661ezuojqxKBJ/ffno4s4opv0P4EPPuziYV2i1nHKLUnb9ywsLLspIZ8S9SP++RDdmuMKQLcTM8bXsH6IeZNtyhE5Kr1EDRmV+NFOP8PFbwG0PusXVaVqY5+BC2j/LLRJ2xJNgtIsi9E1ebCEdpQRSfwWx5pIddjg5E5CcAVOQOaEglG8IXhA=----ATTACHMENT:----Nzk0ODkxNDE3NTMxMDI3NSA2NTY5OTQyMzg4NjQ0NDI3IDcxNTMyNTYxNDg3NDA2Mg==