class MigrationEnded extends MigrationEvent

Properties

Migration $migration

A migration instance.

from  MigrationEvent
string $method

The migration method that was called.

from  MigrationEvent
string|null $name

The migration name.

from  MigrationEvent
float|null $duration

The number of milliseconds the migration took to run.

Methods

__construct(Migration $migration, string $method, string|null $name = null, float|null $duration = null)

Create a new event instance.

Details

at line 19
__construct(Migration $migration, string $method, string|null $name = null, float|null $duration = null)

Create a new event instance.

Parameters

Migration $migration
string $method
string|null $name
float|null $duration