final class MigrationStatusCommand implements CommandInterface (View source)

CLI command that displays the migration status.

When database history is unavailable, it reports registry-only Unknown states and returns a non-zero exit code because the status could not be verified.

Methods

__construct(MigrationRegistry $registry, ContainerInterface $container, mixed $stdout = null, mixed $stderr = null)
string
name()
string
string
string
int
run(array $args)
int

Details

__construct

__construct(MigrationRegistry $registry, ContainerInterface $container, mixed $stdout = null, mixed $stderr = null)

No description

Parameters

MigrationRegistry $registry
ContainerInterface $container
mixed $stdout
mixed $stderr

name

string name()

No description

Return Value

string

description

string description()

No description

Return Value

string

run

int run(array $args)

No description

Parameters

array $args

Return Value

int