WithMigration
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 | The target types. |
Methods
__construct(string ...$types)
Construct a new attribute.
mixed
Details
at line 38
__construct(string ...$types)
Construct a new attribute.
at line 50
mixed
__invoke(Application $app)
Handle the attribute.