TransactionBuilderInterface
interface TransactionBuilderInterface (View source)
Class to gather optional parameters to start a new transaction
Methods
asCurrent()
New transaction will be set as the current one
timestamp(float $timestamp)
Set start time of the new transaction
begin()
Begins a new transaction.
Details
TransactionBuilderInterface
asCurrent()
New transaction will be set as the current one
TransactionBuilderInterface
timestamp(float $timestamp)
Set start time of the new transaction
TransactionBuilderInterface
distributedTracingHeaderExtractor(Closure $headerExtractor)
No description
TransactionInterface
begin()
Begins a new transaction.
mixed
capture(Closure $callback)
Begins a new transaction, runs the provided callback as the new transaction and automatically ends the new transaction.