SnapshotModule
Less than 1 minute
SnapshotModule
Console module for creating DBI schema snapshots.
class SnapshotModule extends \Hazaar\Console\DBI\ModuleRegisters a command that captures the current database schema state and writes a snapshot migration, optionally in test mode.
Methods
configure
Registers the snapshot command, arguments, and options.
protected configure(): voidexecute
Executes schema snapshot creation.
protected execute(Input $input, Output $output): intParameters
| Parameter | Type | Description |
|---|---|---|
$input | Input | parsed command input, including comment/test options |
$output | Output | console output writer |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000