MCPcopy Index your code
hub / github.com/php/frankenphp / context

Method context

phpthread.go:171–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169}
170
171func (thread *phpThread) context() context.Context {
172 if thread.handler == nil {
173 // handler can be nil when using opcache.preload
174 return globalCtx
175 }
176
177 return thread.handler.context()
178}
179
180func (thread *phpThread) name() string {
181 thread.handlerMu.RLock()

Callers

nothing calls this directly

Calls 1

contextMethod · 0.65

Tested by

no test coverage detected