芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/sentry/sentry/src/State/HubInterface.php
$className * * @psalm-return T|null */ public function getIntegration(string $className): ?IntegrationInterface; /** * Starts a new `Transaction` and returns it. This is the entry point to manual * tracing instrumentation. * * A tree structure can be built by adding child spans to the transaction, and * child spans to other spans. To start a new child span within the transaction * or any span, call the respective `startChild()` method. * * Every child span must be finished before the transaction is finished, * otherwise the unfinished spans are discarded. * * The transaction must be finished with a call to its `finish()` method, at * which point the transaction with all its finished child spans will be sent to * Sentry. * * @param TransactionContext $context Properties of the new transaction * @param array
$customSamplingContext Additional context that will be passed to the {@see SamplingContext} */ public function startTransaction(TransactionContext $context/*, array $customSamplingContext = []*/): Transaction; /** * Returns the transaction that is on the Hub. */ public function getTransaction(): ?Transaction; /** * Returns the span that is on the Hub. */ public function getSpan(): ?Span; /** * Sets the span on the Hub. * * @param Span|null $span The span */ public function setSpan(?Span $span): HubInterface; }