SyncModule
Less than 1 minute
SyncModule
Console module for syncing database schema/data from external files.
class SyncModule extends \Hazaar\Console\DBI\ModuleProvides a command that optionally loads a JSON sync payload from disk and applies synchronization through the DBI schema manager.
Methods
configure
Registers the sync command and its optional sync-file argument.
protected configure(): voidexecute
Executes database synchronization using optional JSON input data.
protected execute(Input $input, Output $output): intParameters
| Parameter | Type | Description |
|---|---|---|
$input | Input | parsed command input |
$output | Output | console output writer |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000