final class WithMigration implements Invokable

Load named Testbench migration sets for the test.

The cache, queue, and session aliases resolve to the default Hypervel set. Use TestCase::loadMigrationsFrom() for package or arbitrary migration paths.

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

Named Testbench migration sets to load

at line 44
mixed __invoke(Application $app)

Handle the attribute.

Parameters

Application $app

Return Value

mixed