public function __construct($uri) { $this->uri = is_array($uri) ? $uri : \PHPDaemon\Config\Object::parseCfgUri($uri); if (!$this->uri) { return; } $this->importParams(); if ($this->ssl || $this->tls) { $this->initSecureContext(); } }