function ContextStorageInterface::current
Returns the current context.
Return value
ContextInterface current context
3 methods override ContextStorageInterface::current()
- ContextStorage::current in vendor/
open-telemetry/ context/ ContextStorage.php - Returns the current context.
- FiberBoundContextStorage::current in vendor/
open-telemetry/ context/ FiberBoundContextStorage.php - Returns the current context.
- FiberBoundContextStorageExecutionAwareBC::current in vendor/
open-telemetry/ context/ FiberBoundContextStorageExecutionAwareBC.php - Returns the current context.
File
-
vendor/
open-telemetry/ context/ ContextStorageInterface.php, line 22
Class
Namespace
OpenTelemetry\ContextCode
public function current() : ContextInterface;