interface ContextStorageScopeInterface
@psalm-suppress MissingTemplateParam
Hierarchy
- interface \OpenTelemetry\Context\ScopeInterface
- interface \OpenTelemetry\Context\ContextStorageScopeInterface extends \OpenTelemetry\Context\ScopeInterface \ArrayAccess
Expanded class hierarchy of ContextStorageScopeInterface
All classes that implement ContextStorageScopeInterface
File
-
vendor/
open-telemetry/ context/ ContextStorageScopeInterface.php, line 12
Namespace
OpenTelemetry\ContextView source
interface ContextStorageScopeInterface extends ScopeInterface, ArrayAccess {
/**
* Returns the context associated with this scope.
*
* @return ContextInterface associated context
*/
public function context() : ContextInterface;
/**
* @param string $offset
*/
public function offsetSet($offset, $value) : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ContextStorageScopeInterface::context | public | function | Returns the context associated with this scope. | 1 |
ContextStorageScopeInterface::offsetSet | public | function | 1 | |
ScopeInterface::detach | public | function | Detaches the context associated with this scope and restores the previously associated context. |
2 |
ScopeInterface::DETACHED | public | constant | The associated context was already detached. | |
ScopeInterface::INACTIVE | public | constant | The associated context is not in the active execution context. | |
ScopeInterface::MISMATCH | public | constant | The associated context is not the active context. |