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.
Synopsis
Section titled “Synopsis”final class WorkerRoadRunnerPlugin implements PluginInterface
| Implements | PluginInterface |
| Source | WorkerRoadRunnerPlugin.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
register(PluginRegistrar $registrar): void | Publishes the worker.roadrunner.chunk_size default and the runtime alias. |
register()
Section titled “register()”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.
| Parameter | Type | Description |
|---|---|---|
$registrar | PluginRegistrar |