/** * Closes the underlying TCP socket if it exists * * @see SteamSocket::close() */ public function close() { if (!empty($this->socket)) { parent::close(); } }