php8.5
Home/ Manual/ stomp / stomp/ Stomp::begin

Stomp::begin

PHP function Edit on GitHub ✎

(PECL stomp >= 0.1.0)

Starts a transaction

Description

Oop (method):

Stomp::begin(string $transaction_id, [array $headers]): bool

Procedural:

stomp_begin(resource $link, string $transaction_id, [array $headers]): bool

Starts a transaction.

Parameters

transaction_id

The transaction id.

Return Values

Success

Examples

See stomp_commit() or stomp_abort().

Notes Sync

Source: reference/stomp/stomp/begin.xml · from the official PHP manual (php/doc-en)