OpenTelemetry PHP

ContextStorageScopeInterface extends ScopeInterface, ArrayAccess

Tags
psalm-suppress

MissingTemplateParam

Table of Contents

Constants

DETACHED  = 1 << (\PHP_INT_SIZE << 3) - 1
The associated context was already detached.
INACTIVE  = 1 << (\PHP_INT_SIZE << 3) - 2
The associated context is not in the active execution context.
MISMATCH  = 1 << (\PHP_INT_SIZE << 3) - 3
The associated context is not the active context.

Methods

context()  : ContextInterface
Returns the context associated with this scope.
detach()  : int
Detaches the context associated with this scope and restores the previously associated context.
offsetSet()  : void

Constants

DETACHED

The associated context was already detached.

public mixed DETACHED = 1 << (\PHP_INT_SIZE << 3) - 1

INACTIVE

The associated context is not in the active execution context.

public mixed INACTIVE = 1 << (\PHP_INT_SIZE << 3) - 2

MISMATCH

The associated context is not the active context.

public mixed MISMATCH = 1 << (\PHP_INT_SIZE << 3) - 3

Methods


        
On this page

Search results