diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-10-01 16:00:34 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-10-01 16:00:34 +0300 |
| commit | 884fd92f1320d17daebb772297da03fb2cfa59b8 (patch) | |
| tree | 3aa80af1df6ffa1d70f21f9fc4411f451c8b6c56 /vendor/open-telemetry/context/ScopeInterface.php | |
| parent | 8fcc68baf5b0ff964a0a4a045353462586e0e316 (diff) | |
drop opentelemetry
Diffstat (limited to 'vendor/open-telemetry/context/ScopeInterface.php')
| -rw-r--r-- | vendor/open-telemetry/context/ScopeInterface.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/vendor/open-telemetry/context/ScopeInterface.php b/vendor/open-telemetry/context/ScopeInterface.php deleted file mode 100644 index 05319b8fc..000000000 --- a/vendor/open-telemetry/context/ScopeInterface.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace OpenTelemetry\Context; - -use const PHP_INT_SIZE; - -interface ScopeInterface -{ - /** The associated context was already detached. */ - public const DETACHED = 1 << (PHP_INT_SIZE << 3) - 1; - /** The associated context is not in the active execution context. */ - public const INACTIVE = 1 << (PHP_INT_SIZE << 3) - 2; - /** The associated context is not the active context. */ - public const MISMATCH = 1 << (PHP_INT_SIZE << 3) - 3; - - /** - * Detaches the context associated with this scope and restores the - * previously associated context. - * - * @return int zero indicating an expected call, or a non-zero value - * indicating that the call was unexpected - * - * @see self::DETACHED - * @see self::INACTIVE - * @see self::MISMATCH - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#detach-context - */ - public function detach(): int; -} |