Stomp::__destruct

stomp_close

(PECL stomp >= 0.1.0)

Stomp::__destruct -- stomp_closeCloses stomp connection

Description

Object oriented style (destructor):

public Stomp::__destruct ( ) : bool

Procedural style:

stomp_close ( resource $link ) : bool

Closes a previously opened connection.

Parameters

link

Procedural style only: The stomp link identifier returned by stomp_connect().

Return Values

Returns true on success or false on failure.

Examples

See stomp_connect().

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/stomp.destruct.php