final class QueueInstallCommand implements CommandInterface (View source)

Creates fresh database queue tables and validates existing tables without altering them implicitly.

Methods

__construct(Schema $schema, DatabaseDriverInterface $db, DatabaseQueueSchemaValidator $schemaValidator, QueueConfig $config, mixed $stdout = null)

Creates an installer bound to the configured schema, supported dialect, and compatibility validator.

string
name()

Returns the stable CLI command name used by the command registry.

string
string

Returns the operator-facing summary shown by CLI command discovery.

string
int
run(array $args)

Creates missing tables, rejects incompatible existing schemas, and reports readiness only after validation.

int

Details

__construct

__construct(Schema $schema, DatabaseDriverInterface $db, DatabaseQueueSchemaValidator $schemaValidator, QueueConfig $config, mixed $stdout = null)

Creates an installer bound to the configured schema, supported dialect, and compatibility validator.

Parameters

Schema $schema
DatabaseDriverInterface $db
DatabaseQueueSchemaValidator $schemaValidator
QueueConfig $config
mixed $stdout

name

string name()

Returns the stable CLI command name used by the command registry.

Return Value

string

description

string description()

Returns the operator-facing summary shown by CLI command discovery.

Return Value

string

run

int run(array $args)

Creates missing tables, rejects incompatible existing schemas, and reports readiness only after validation.

Parameters

array $args

Arguments after the executable and command name.

Return Value

int