Skip to content

Worker

Everything under Quiote\Runtime\Worker.

ClassDescription
FrankenPhpRuntimeFrankenPHP worker mode: a persistent process that parks in frankenphp_handle_request() and gets its superglobals refilled per request.
SapiRuntimeThe classic one-request-per-process host: php-fpm, mod_php, php -S, and the CLI when something calls Kernel::run() directly.
WorkerLoopEverything a worker runtime needs from the framework, so a runtime only has to know how to get a request in and a response out.
WorkerRuntimeCapabilitiesWhat a WorkerRuntimeInterface can and cannot do, so the shared WorkerLoop knows which compensations to install rather than every runtime re-deciding.
WorkerRuntimeInfo“Which runtime are we on, and what can it do?” — the process-wide query surface for code outside the Runtime namespace that needs to behave differently in a persistent worker.
WorkerRuntimeRegistryProcess-global registry mapping short runtime aliases (e.g.
InterfaceDescription
WorkerRuntimeInterfaceA host that drives Quiote’s request loop: the PHP SAPI, a FrankenPHP worker, a RoadRunner worker, a Swoole HTTP server.