ReplayModule
Less than 1 minute
ReplayModule
Console module for replaying DBI schema migrations.
class ReplayModule extends \Hazaar\Console\DBI\ModuleProvides a command that replays schema operations up to a target version, allowing controlled rollback/forward reconstruction of schema state.
Methods
configure
Registers the replay command and its version argument.
protected configure(): voidexecute
Executes schema replay to the requested version.
protected execute(Input $input, Output $output): intParameters
| Parameter | Type | Description |
|---|---|---|
$input | Input | parsed command input, including optional version |
$output | Output | console output writer |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000