final class WithMigration implements Invokable

Loads migration paths for the test.

Accepts migration type aliases ('cache', 'queue', 'session', 'hypervel') or literal paths. When no arguments are provided, defaults to 'hypervel' which loads the standard test migrations.

Properties

array<int, string> $types

Methods

__construct(string ...$types)

No description

mixed
__invoke(Application $app)

Handle the attribute.

Details

at line 32
__construct(string ...$types)

No description

Parameters

string ...$types

Migration types or paths to load

at line 44
mixed __invoke(Application $app)

Handle the attribute.

Parameters

Application $app

Return Value

mixed