class MigrateProcessor

internal  
 

Properties

protected int $beforeBatch
protected int $afterBatch

Methods

__construct(TestCase $testbench, Migrator $migrator, array $options = [])

No description

up()

Run migration.

rollback()

Rollback migration.

int
dispatch(string $command, array|null $options = null)

Dispatch artisan command.

Details

at line 27
__construct(TestCase $testbench, Migrator $migrator, array $options = [])

No description

Parameters

TestCase $testbench
Migrator $migrator
array $options

at line 37
MigrateProcessor up()

Run migration.

Return Value

MigrateProcessor

at line 65
MigrateProcessor rollback()

Rollback migration.

Return Value

MigrateProcessor

at line 114
protected int dispatch(string $command, array|null $options = null)

Dispatch artisan command.

Parameters

string $command
array|null $options

Return Value

int