class MigrationStarted extends MigrationEvent (View source)

Properties

Migration $migration

A migration instance.

from  MigrationEvent
string $method

The migration method that was called.

from  MigrationEvent

Methods

void
__construct(Migration $migration, string $method)

Create a new event instance.

Details

void __construct(Migration $migration, string $method)

Create a new event instance.

Parameters

Migration $migration
string $method

Return Value

void

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.