diff options
Diffstat (limited to 'vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php')
-rw-r--r-- | vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php b/vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php new file mode 100644 index 000000000..d61c1ea8f --- /dev/null +++ b/vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +namespace OpenTelemetry\SDK\Trace; + +use OpenTelemetry\API\Trace as API; +use OpenTelemetry\SDK\Common\Future\CancellationInterface; + +interface TracerProviderInterface extends API\TracerProviderInterface +{ + public function forceFlush(?CancellationInterface $cancellation = null): bool; + + public function shutdown(?CancellationInterface $cancellation = null): bool; +} |