コード例 #1
0
ファイル: Client.php プロジェクト: timenz/elephant.io
 /**
  * Closes the connection
  *
  * @return $this
  */
 public function close()
 {
     $this->logger->debug('Closing the connection to the websocket');
     $this->engine->close();
     $this->isConnected = false;
     return $this;
 }
コード例 #2
0
ファイル: Client.php プロジェクト: jgao18/PokerRoom
 /**
  * Closes the connection
  *
  * @return $this
  */
 public function close()
 {
     $this->engine->close();
     $this->isConnected = false;
     return $this;
 }
コード例 #3
0
ファイル: Client.php プロジェクト: baothaklien/Project3
 /**
  * Closes the connection
  *
  * @return $this
  */
 public function close()
 {
     null !== $this->logger && $this->logger->debug('Closing the connection to the websocket');
     $this->engine->close();
     return $this;
 }