RequestContextSynchronizer
class RequestContextSynchronizer
Methods
void
syncContextKeysToParent(iterable $keys)
Sync selected Context keys from the current request coroutine to its parent.
void
syncSnapshotToParent(array|ArrayAccess $snapshot, iterable $keys)
Sync selected Context keys from a snapshot to the current coroutine's parent.
bool
Details
at line 18
void
syncContextKeysToParent(iterable $keys)
Sync selected Context keys from the current request coroutine to its parent.
at line 35
void
syncSnapshotToParent(array|ArrayAccess $snapshot, iterable $keys)
Sync selected Context keys from a snapshot to the current coroutine's parent.
at line 53
protected bool
hasKey(array|ArrayAccess $snapshot, string $key)
Determine whether a snapshot has a key.