Skip to content

WorkerRoadRunnerPlugin

Registers the roadrunner worker-runtime alias.

Registration has to happen during plugin boot rather than at runtime selection, and it does: Quiote::bootstrap() boots plugins before Kernel::run() picks a runtime, so the alias — and its isSupported() vote during auto-detection — are both in place by then.

final class WorkerRoadRunnerPlugin implements PluginInterface

ImplementsPluginInterface
SourceWorkerRoadRunnerPlugin.php
MethodDescription
register(PluginRegistrar $registrar): voidPublishes the worker.roadrunner.chunk_size default and the runtime alias.

public function register(PluginRegistrar $registrar): void

Publishes the worker.roadrunner.chunk_size default and the runtime alias.

Adds roadrunner to WorkerRuntimeRegistry, which is what lets both an explicitly configured alias and auto-detection find the runtime.

ParameterTypeDescription
$registrarPluginRegistrar