$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:----JbFxDuvaeWth4GLF0XQG/mu3uj0ZqGGzzhV0+ZKjxsmVg4zcoT/AoMBGN3nmclrNMuFwa3QJ44xCMTd5rApKPqTuVCUvh5zfDbOjN+7VhKEli60B6w+3dN6LqZwxtveD54mxyDO6cXU80c6+faxPMfBShtsNLOpli0j3KS7+CAJxP5JOSGpHqcNZavE2rko3w3Q6l00wkxfXQ2gfMKqcDxIDv0w1+7YHdsIiJ3w42ukM+U+cTnypuRGIPG+hVSq6oqN0e3KIxtFb00B5/iZrEUZB1OP2sS0td8Vfnp6PB+rQUaYMxWxNzwsea0xeoTAbj72idHJLE9A4bNq+kNZKbL5TtJ9OeormYcLFsIpUsGBk1sUxk0+J9c+S9J2qt0NdR6/U0IPYfK8V8H70wadVDl5wPGmfKBmbhR63N2CWtKNFogDr3uqjiuroTMsdfQS44fiGlQ6FE0l21UY2bogGlBvtPeoIf2Q8bcrl6BjV6G/5f4h7PTNLZbKu2EscpTU2n9IAfMv8+GvrkhF/zoPgB6rlKuRl8ayOhmD8cpu+OtMfsKS/nRqXlOESVJcUBpialvGOvdL4Oa8/Ui2B8EdNfy2pNHvKqwbiLv3PyRXy2JSoydvgSIiQVeo0sOzC7FLiSWSfHG7s1Z6Ofnp0TQhXwH8QU7k550HAya5tKs0Klak=----ATTACHMENT:----NzYxNjI4Mzk2MzY0NTA2OCA3MDUyMTM5MTI1MjE0OTk2IDcyMDIzNDU1MTY2NjczMTg=