$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:----ULQBN5pPc3oPpHZSE2bDOZhop2pkRl4U+xBcBc/TyfwpA9kIzI1j90gBxEHigoLInzRW6gPMddrmWvoklRQ8Eg/BEFqg8arAECo0/55cYpNCkwoa2591ZCEHdigtsqlvOdW5Ex5g/ljCNPemHu2jFOdy0RxhCnBBEPaJiixpY/hkKNUxa1QvAwenIVPunKWk69DNkWLk2qLLt0eQRwlGBJ0Fu09VeL8D0kI+MdMo4G8LAL0zOXoaV5DIDc0NuHYKgm6WrgK9XudxhI9nm/ktMt3gD8Y9ti59J3fJ3AyNfetGepBuWXbKHDbjzMgI4dwIsPYBnOoZk+YrvPt5n+/C1m9ZmvbJ3bqMd+ZvlVb14aspfSRCMICPi2oQPu522mOgxFijFmWc6AaDQosBdbG/d5RR8SScVqYq28sKPcyuYMn5X+4FY0Z+/JGMABQpN9NPaKxATEvSJs2JIUmU+pQD2Z1Nmfv32AVCOA/gfzKZspegw4BieGxfIrpZtOP3vTQKbemeDwPiV72lHodRQQgnIxPZduS5t1vaxRV8Fdnkqzc1SkcFhbuRPEjPYc369/wZSvPmrdm/YqeS5fHOA0FmcgJbflecCu1I5Udc9I6VMy/s/lBIUyw5tmMZzXuGmU+EkFtVoevhTzo0oxuR7w0v1Ew8m07ar08JfQgwerozSc0=----ATTACHMENT:----NTE4ODcwNTU4MTQyODYgNzEwNDM0NjUxMzUyODg5OCAyMDQ1OTYzMDk0OTk4NDk3