PHPDaemon\BoundSocket\Generic::__construct PHP Метод

__construct() публичный Метод

Constructor
public __construct ( $uri ) : object
Результат object
    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();
        }
    }