DefineDatabase
final class DefineDatabase implements Actionable, AfterEach, BeforeEach
Calls a test method for database setup with deferred execution support.
Resets RefreshDatabaseState before and after each test.
Methods
Details
at line 22
__construct(string $method, bool $defer = true)
No description
at line 31
void
beforeEach(Application $app)
Handle the attribute before each test.
at line 39
void
afterEach(Application $app)
Handle the attribute after each test.
at line 49
mixed
handle(Application $app, Closure $action)
Handle the attribute.