コード例 #1
0
ファイル: stdprofile.php プロジェクト: utcuong3010/vng
 private function _closeTransport()
 {
     if ($this->transport->isOpen()) {
         $this->transport->close();
     }
 }
コード例 #2
0
ファイル: TBufferedTransport.php プロジェクト: Leolh/hive
 public function close()
 {
     $this->transport_->close();
 }
コード例 #3
0
 /**
  * Forces the connection to close.
  *
  * Generally there's no need to call it yourself as it will be closed on
  * termination.
  */
 public function close()
 {
     if ($this->isOpen) {
         $this->transport->flush();
         $this->transport->close();
         $this->isOpen = false;
     }
 }