function ScopeInterface::detach
Detaches the context associated with this scope and restores the previously associated context.
Return value
int zero indicating an expected call, or a non-zero value indicating that the call was unexpected
See also
self::DETACHED
self::INACTIVE
self::MISMATCH
https://github.com/open-telemetry/opentelemetry-specification/blob/main…
2 methods override ScopeInterface::detach()
- ContextStorageNode::detach in vendor/
open-telemetry/ context/ ContextStorageNode.php - Detaches the context associated with this scope and restores the previously associated context.
- DebugScope::detach in vendor/
open-telemetry/ context/ DebugScope.php - Detaches the context associated with this scope and restores the previously associated context.
File
-
vendor/
open-telemetry/ context/ ScopeInterface.php, line 31
Class
Namespace
OpenTelemetry\ContextCode
public function detach() : int;