/** * @throws RuntimeException */ protected function configureClientInformation() { $this->ip = $this->socket->getIp(); $this->port = $this->socket->getPort(); // Use uniqueid() instead of configureClientId() $this->id = uniqid('c'); }
/** * @throws RuntimeException */ protected function configureClientInformation() { $this->ip = $this->socket->getIp(); $this->port = $this->socket->getPort(); $this->configureClientId(); }