ReplayDoctrinePlugin
Wires Doctrine’s own DBAL driver-middleware seam into quioteframework/replay’s generic effect-recording seam, through the same plugin mechanism every other Quiote package uses.
Registers ReplayDoctrineDatabase/ReplayDoctrineDbalDatabase — thin subclasses that install DoctrineRecordingMiddleware at connect time — under the same doctrine/doctrine_dbal driver aliases quioteframework/db-doctrine’s own DoctrinePlugin registers. PluginRegistrar::databaseDriver() is last-writer-wins (unlike service()’s set-if-absent), so an app that loads this plugin after DoctrinePlugin gets the recording subclasses transparently, with no databases.xml change.
Synopsis
Section titled “Synopsis”final class ReplayDoctrinePlugin implements PluginInterface
| Implements | PluginInterface |
| Source | ReplayDoctrinePlugin.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
register(PluginRegistrar $registrar): void | Contribute to the framework. |
register()
Section titled “register()”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.
| Parameter | Type | Description |
|---|---|---|
$registrar | PluginRegistrar |