close() public method

close the socket
public close ( ) : void
return void
Beispiel #1
0
 /**
  * Close the connection
  *
  * @return void
  */
 public function close()
 {
     if (null !== $this->socket) {
         $this->socket->close();
     }
 }