Skip to content

ReplayCyclePlugin

Wires Cycle’s own PSR-3 logger seam into quioteframework/replay’s generic effect-recording seam, through the same plugin mechanism every other Quiote package uses.

Registers ReplayCycleDatabase — a thin subclass that installs CycleRecordingLogger at connect time — under the same cycle driver alias quioteframework/db-cycle’s own CyclePlugin registers. PluginRegistrar::databaseDriver() is last-writer-wins (unlike service()’s set-if-absent), so an app that loads this plugin after CyclePlugin gets the recording subclass transparently, with no databases.xml change.

final class ReplayCyclePlugin implements PluginInterface

ImplementsPluginInterface
SourceReplayCyclePlugin.php
MethodDescription
register(PluginRegistrar $registrar): voidContribute to the framework.

public function register(PluginRegistrar $registrar): void

Contribute to the framework.

Called exactly once at boot. Every contribution routes through PluginRegistrar to an existing seam; a plugin does not touch framework internals directly.

ParameterTypeDescription
$registrarPluginRegistrar